Skip to content

Tag: openssl

Generating an SSL CSR and key

To generate an SSL certificate signing request (CSR) with key you can do this: openssl req -nodes -newkey rsa:2048 -keyout bla.key -out bla.csr Read More »

Testing an OpenSSL connection

Simple command to test an SSL connection: openssl s_client -connect -ssl3 Read More »

Changing an apache virtual host to ssl

To change a virtual host in apache to ssl: #Redirect all normal traffic to the https site. RewriteEngine on RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R] Read More »

Generating key and certificate for courier-imap

To create a self-signed certificate for courier-imap: openssl req -new -x509 -days 3650 -nodes -out imapd.pem -keyout imapd.pem Read More »

Generating a self-signed SSL certificate

openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt Read More »

Show fields in a SSL certificate with openssl

To use OpenSSL to get the certficate information (source): Read More »