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

5a7eb3fd-0a85-4b35-9e91-ef265b2e2a3b.png
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!

w_invb02c4.gif

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.

238c82c3-cdd7-4492-a23c-39e18a1f8c21.png
w_invb01c4.gif

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.

238c82c3-cdd7-4492-a23c-39e18a1f8c21.png
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.

open.php?u=09cef08fc376e6da2dace7d09&id=bf19128800&e=7d180cd87d