SSL: Difference between revisions

From Playing with linux...
Jump to navigation Jump to search
(Created page with "'''Self Signed Certificate'''<br> Easiest way to create a self-signed certificate: <pre> openssl req -subj “/CN=domain.com” -new -newkey rsa:4096 -days 3650 -nodes -x509 ...")
 
No edit summary
Line 1: Line 1:
'''Self Signed Certificate'''<br>
=Self Signed Certificate=
Easiest way to create a self-signed certificate:
Easiest way to create a self-signed certificate for domain.com:


<pre>
<pre>
openssl req -subj “/CN=domain.com” -new -newkey rsa:4096 -days 3650 -nodes -x509 -sha512 -keyout private.key -out public.key
openssl req -subj “/CN=domain.com” -new -newkey rsa:4096 -days 3650 -nodes -x509 -sha512 -keyout private.key -out public.key
</pre>
</pre>

Revision as of 08:34, 27 March 2015

Self Signed Certificate

Easiest way to create a self-signed certificate for domain.com:

openssl req -subj “/CN=domain.com” -new -newkey rsa:4096 -days 3650 -nodes -x509 -sha512 -keyout private.key -out public.key