День добрый, а можно чуть больше деталей? что и зачем нужно экспортить? какой тип сертификата на сервере?
On Wed, 18 Mar 2020 at 15:54, Julia Savochkina <[email protected]> wrote: > > Добрый день! > Подскажите, пожалуйста, как экспортировать ключи SSL после обновления на > сервере ubuntu 14.04 openmeetings 5.0.0-M3: > > root@om-new:/opt/red5407/conf# keytool -keysize 4096 -genkey -alias > > openmeetings -keyalg RSA -storetype PKCS12 -keystore > > /opt/red5407/conf/keystore > > Enter keystore password: > > Keystore password is too short - must be at least 6 characters > > Enter keystore password: > > Re-enter new password: > > What is your first and last name? > > [Unknown]: > > What is the name of your organizational unit? > > [Unknown]: > > What is the name of your organization? > > [Unknown]: > > What is the name of your City or Locality? > > [Unknown]: > > What is the name of your State or Province? > > [Unknown]: > > What is the two-letter country code for this unit? > > [Unknown]: > > Is CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown > > correct? > > [no]: yes > > root@om-new:/opt/red5407/conf# > > root@om-new:/home/alex3/ssl/Root Certificates# keytool -import -alias > > root -keystore /opt/red5407/conf/keystore -trustcacerts -file > > AddTrustExternalCARoot.crt > > Enter keystore password: > > Certificate already exists in system-wide CA keystore under alias > > <addtrustexternalca [jdk]> > > Do you still want to add it to your own keystore? [no]: yes > > Certificate was added to keystore > > root@om-new:/home/alex3/ssl/Root Certificates# > > > > root@om-new:/home/alex3/ssl/Linux# ls > > om_distant_msu_ru.ca-bundle > > root@om-new:/home/alex3/ssl/Linux# keytool -import -alias intermed > > -keystore /opt/red5407/conf/keystore -trustcacerts -file > > om_distant_msu_ru.ca-bundle > > Enter keystore password: > > Certificate was added to keystore > > root@om-new:/home/alex3/ssl/Linux# > > root@om-new:/home/alex3/ssl# ls > > Linux om_distant_msu_ru.crt Root Certificates Windows > > root@om-new:/home/alex3/ssl# keytool -import -alias openmeetings > > -keystore /opt/red5407/conf/keystore -trustcacerts -file > > om_distant_msu_ru.crt > > Enter keystore password: > > *keytool error: java.lang.Exception: Public keys in reply and keystore > > don't match* > > > -- > ---С уважением, > Юлия. -- WBR Maxim aka solomax
