Open SSL - Creating Self-Signed certificates
Open SSL
Create Self Signed Certificate
Here are the steps involved in creating self signed certificate
a) Create a key
b) Generate Certificate Sign request .csr
c) Sign your certificate (As it is self signed)
a) Create a key
Create a directory first (to avoid confusions)
Generate key file
b) Generate Certificate Sign request .csr
< #openssl req -new -key private.key > certrequest.csr
c) Sign your certificate (As it is self Signed)
#openssl x509 -in certrequest.csr -out selfsigned.crt -req -signkey private.key -days 365
Here the -days is the number of days denotes the validity of certificate
Once after this we can get the certificate as file "selfsigned.crt"
Create Self Signed Certificate
Here are the steps involved in creating self signed certificate
a) Create a key
b) Generate Certificate Sign request .csr
c) Sign your certificate (As it is self signed)
a) Create a key
Create a directory first (to avoid confusions)
mkdir certificates
cd certificates
Generate key file
#openssl genrsa 1024 > private.key
b) Generate Certificate Sign request .csr
< #openssl req -new -key private.key > certrequest.csr
c) Sign your certificate (As it is self Signed)
#openssl x509 -in certrequest.csr -out selfsigned.crt -req -signkey private.key -days 365
Here the -days is the number of days denotes the validity of certificate
Once after this we can get the certificate as file "selfsigned.crt"
Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating Hadoop Administration Online Training Bangalore
ReplyDeleteThanks a lot for a good blog. In this blog, I gain more knowledge about technology.
ReplyDeleteStruts Training in Chennai
struts classes
Struts Training in Adyar
Wordpress Training in Chennai
Wordpress Training institute in Chennai
Spring Training in Chennai
Hibernate Training in Chennai
Struts Training in Chennai