TEXT 56
SSL PFX-Zertifikatdatei konvertieren By micha on 17th June 2022 12:37:22 PM
  1. 1. Copy domain.pfx to homedir (f.e. www)
  2. openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.cer
  3. openssl pkcs12 -in domain.pfx -nocerts -nodes  -out domain.key
  4. (optional) openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.pem
  5.  
  6. 2. Copy generated files to apache /etc/apache2/ssl
  7. sudo cp
  8.  
  9. 3. Add files to config
  10. SSLCertificateFile /etc/apache2/ssl/domain.cer
  11. SSLCertificateKeyFile /etc/apache2/ssl/domain.key
  12. SSLCertificateChainFile /etc/apache2/ssl/domain.pem
  13.  
  14. 4. Restart apache2
  15. sudo service apache2 restart
  16.  
  17. # Plesk
  18. - Zertifikat in entsprechender Domain ergänzen
  19. > Privater Schlüssel (*.key) *
  20. > Zertifikat (*.crt) *
  21.  
  22. Abschließend unter "Hosting und DNS" in den Hosting-Einstellungen unter Sicherheit auswählen.

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.