Инструменты пользователя

Инструменты веб-сайта


хранилище ключей

Это старая версия документа!


Java Keystore Key Management

Die SSL-Zertifikate werden in Containderdateien (keystore) gespeichert. Diese Container können mehrere Schlüssel und Zertifikate enthalten.

Der Keystore wird mit dem Programm keytool verwaltet.

Schlüssel erstellen

Beispiel des Dialogs zum Erstellen eines Schlüssels

# keytool -genkey -alias BennoMailArchiv -keystore /etc/benno/bennokeystore.jks -keyalg RSA Enter keystore password: Re-enter new password: What is your first and last name? [Unknown]: Benno MailArchiv What is the name of your organizational unit? [Unknown]: IT What is the name of your organization? [Unknown]: LWsystems What is the name of your City or Locality? [Unknown]: Bad Iburg What is the name of your State or Province? [Unknown]: Niedersachsen What is the two-letter country code for this unit? [Unknown]: DE Is CN=Benno MailArchiv, OU=IT, O=LWsystems, L=Bad Iburg, ST=Niedersachsen, C=DE correct? [no]: yes Enter key password for <BennoMailArchiv> (RETURN if same as keystore password): Re-enter new password: 

Die Keystore-Datei (hier /etc/benno/bennokeystore.jks) wird anschließend für den User „benno“ und die gleichnamige Gruppe lesbar gemacht.

chown benno.benno bennokeystore.jks chmod 0440 bennokeystore.jks 
keystore.1536759044.txt.gz · Zuletzt geändert: 2018/09/12 13:30 von lwsystems