Mini Lexikon

HTTPS Certificate Generation

create a ssl-certificate for your private https-server

echo domainname: $1
echo this should only be done as root !
#Generate a Private Key
openssl genrsa -des3 -out $1.key 1024
#Generate a CSR (Certificate Signing Request) 
openssl req -new -key $1.key -out $1.csr
#Remove Passphrase from Key 
cp $1.key $1.key.orginal
openssl rsa -in $1.key.orginal -out $1.key
#Generating a Self-Signed Certificate 
openssl x509 -req -days 765 -in $1.csr -signkey $1.key -out $1.crt

#chmod a+r $1.crt
Download shell skript

or get a signed one here:

Spenden / Donations in bitcoin 1KUUuU4mjtQLgPvTyaDZ5aJrz1waaSSwQa
The intention was, to provide quick and easy to use information.