Self Signed SSL Certificat erstellen
Openssl SSL PEM Zertifikat erstellen
openssl req -new -newkey rsa:2048 -x509 -days 3650 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem
Openssl SSL Private Key erstellen
openssl genrsa -out apache2.key 2048
Openssl SSL Private Key und Cert erstellen
openssl req -new -newkey rsa:2048 -x509 -days 3650 -nodes -out /etc/apache2/ssl/apache.crt -keyout /etc/apache2/ssl/apache.key
unter RedHat Linux liegen die Zertifikate in anderen Ordnern:
openssl req -new -newkey rsa:2048 -x509 -days 3650 -nodes -out /etc/httpd/conf/ssl.crt/httpd.crt -keyout /etc/httpd/conf/ssl.key/httpd.key
Openssl SSL Zertifikat (.crt) auslesen
openssl x509 -text -in zertifikat.crt |less
Openssl SSL Private Key (.key) auslesen
openssl rsa -text -in httpd.key | less