SSL tomcat – windows

Posted on març 24th, 2011 by admin

Partimos de un certificado generado desde windows dvel.pfx

DOS> openssl.exe
OpenSSL> pkcs12 -in “C:certdvel.pfx” -out “C:certdvel.pem” -nodes
Enter Import Password:
MAC verified OK

Esto genera la clave publica y la privada.

OpenSSL> pkcs12 -export -in “C:certdvel.pem” -out “C:certprivatekey_dvel.pem”
Enter Export Password:
Verifying – Enter Export Password:

Esto cifra las claves y genera un fichero cifrado.

Copiamos el fichero generado a E:serverTomcat6confCatalinalocalhost

Al servidor añadir esto al fichero E:serverTomcat6confserver.xml

Reiniciar el servicio de tomcat

https://localhost:8443 -> OK.

This entry was posted on dijous, març 24th, 2011 at 16:59 and is filed under HasenFrosch. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Response

« »

guy fawkes