Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. <VirtualHost *:443>
  2. DocumentRoot "/Library/ApacheTomcat/apache-tomcat-6.0.33/webapps/MyServerAppName"
  3. ServerName mydomain.com
  4. ErrorLog "/private/var/log/apache2/mydomain.com-error_log"
  5. CustomLog "/private/var/log/apache2/mydomain.com-access_log" common
  6. SSLCertificateFile /etc/apache2/mydomain.cer
  7. JkMountCopy On
  8. JkMount /* ajp13
  9. </VirtualHost>
  10.  
  11. umask 0077
  12. openssl pkcs12 -in filename.p12 -nocerts -nodes -out filename-key.pem
  13. umask 0022
  14.  
  15. openssl pkcs12 -in filename.p12 -clcerts -nokeys -out filename-cert.pem
  16.  
  17. umask 0077
  18. openssl pkcs12 -in filename.p12 -nocerts -nodes -out filename-key.pem
  19. umask 0022
  20.  
  21. openssl pkcs12 -in filename.p12 -clcerts -nokeys -out filename-cert.pem
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement