How to: Erstelle oder verlängere das Apache-OpenSSL-Zertifikat

# root shell starten
sudo -s
mkdir -p /etc/apache2/ssl
openssl req -new -x509 -days 730 -nodes -subj '/CN=windhoff.net/OU=Raum X/O=University of Tuebingen/C=DE/ST=Baden-Wuerttemberg/L=Tuebingen/emailAddress=example@example.com' -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem
ln -sf /etc/apache2/ssl/apache.pem /etc/apache2/ssl/`/usr/bin/openssl x509 -noout -hash < /etc/apache2/ssl/apache.pem`.0
chmod 600 /etc/apache2/ssl/apache.pem
/etc/init.d/apache2 restart
# root shell verlassen
exit

Beispiel Informationen zum Eintragen in das Zertifikat

  • C = DE
  • ST = Baden-Wuerttemberg
  • L = Tuebingen
  • O = University of Tuebingen
  • OU = Raum X
  • CN = windhoff.net
  • EmailAddress = example@example.com

Comments

 
 
how_to/erstelle_oder_verlaengere_das_apache-openssl-zertifikat.txt · Last modified: 28.11.2010 03:17 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki