How can I create a self-signed digital certificate?

Alessandro A. Garbagnati

Using OpenSSL, a possible way is to execute this command:

openssl req -new -x509 -days 366 -keyout new_self.cert.pem -out new_self.cert.pem -nodes

During the process you will be promped for certificate fields, but you can avoid that by creating a custom configuration file that contains all the required info. Check out the openssl man page, for how to do that and for additional openssl options.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact