mercredi 13 avril 2011

Certificat auto-signé

Création d'un certificat autosigné:


# Creation d'une clé privée
openssl genrsa -out private.key 1024

# creation d'un certificat
openssl req -new -x509 -days 365 -key private.key -out private.crt

# Import du certificat
keytool -import -alias joe -file private.crt


0 commentaires: