Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
itshorty
15:17
selfsig Server Cert:

host=host.name

openssl genrsa -des3 -out $host.key
openssl req -new -key $host.key -out $host.csr
cp $host.key $host.key.org
openssl rsa -in $host.key.org -out $host.key
rm $host.key.org
# from here on to extend cert duration
openssl x509 -req -days 365 -in $host.csr -signkey $host.key -out $host.crt
cat $host.crt $host.key > $host.pem

.crt -> Client Zertifikat
.key -> server (private) key
.csr -> signing request
.pem -> x509 Zertifikat

Don't be the product, buy the product!

Schweinderl