- Create the server key (in this example RSA 1024 bit):
openssl genrsa -out host.key 1024
- Make a certificate out of it (it won’t be signed yet):
openssl req -new -key host.key -out host.csr
- Create your CA certificate (will be valid for a year):
openssl req -new -x509 -days 365 -key host.key -out host.crt
Once you get a signed crt, put it in /etc/pki/tls/certs named localhost.crt if you are using the base config located at /etc/httpd/conf.d/ssl.conf. You will also need to move your .key file create above to /etc/pki/tls/priviate named localhost.key.
Very easy to do with fedora core.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
You must be logged in to post a comment.