Como crear un Certificado Autofirmado para Tomcat y Nginx

Veréis como viene bien la receta con todo junto, y no estar dando vueltas otra vez a lo mismo…

Crear clave privada, certificado y keystore –formto JKS- de un certificado autofirmado

>openssl req -x509 -sha256 -newkey rsa:2048 -keyout sibesaludserv00.key -out sibesaludserv00.crt -days 1024 -nodes

>openssl pkcs12 -export -out keystore.pkcs12 -in sibesaludserv00.crt -inkey sibesaludserv00.key

>keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12 -destkeystore keystore.jks -deststoretype JKS

Terminas con éstos ficheros

Indicar en el conector seguro del tomcat en server.xml, no olvidar poner la password

Para la configuracion nginx.conf dos líoneas con la clave privada y el certificado

Y para verlo sin error en chrome y explorer (con firefox vale con aceptar los riesgos) hay que pinchar en el candadillo>datos del certificado

Lo exportáis en detalles>copiar archivo..

Y haciendo doble click en el fichero lo importáis en OJO! > Entidades de certificación raíz de confianza

A disfrutarlo!

Making Games with Python & Pygame

color-link-48.png Website
color-facebook-48.png Facebook
color-twitter-48.png Twitter
color-googleplus-48.png Google Plus
color-forwardtofriend-48.png Email
Get schooled by Web Code Geeks

Download Python Guides!


Making Games with Python & Pygame

This book covers the Pygame library with the source code for 11 games. Once you have an understanding of the basics of Python programming, you can now expand your abilities using the Pygame library to make games with graphics, animation, and sound. The book features the source code to 11 games. The games are clones of classics such as Nibbles, Tetris, Simon, Bejeweled, Othello, Connect Four, Flood It, and others.


Invent Computer Games with Python

"Invent Computer Games with Python" is a free eBook that teaches you how to program in the Python programming language. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the example. This second edition has revised and expanded content, including a Pygame tutorial to make games with graphics, animation, and sound.

This is third-party material. If you’re downloading a whitepaper or ebook for the first time, our distribution service, TradePub, will ask for some personal information in order to help us understand our audience. You will only have to do this once. After that, the system will recognise you. Note: We promise to respect your privacy and keep all information we collect safe. We will never share or sell your information with third parties.