OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.3. Creating a Self-Signed Certificate‌


To create the self-signed certificate, run the following command at a terminal prompt:


openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt


The above command will prompt you to enter the passphrase. Once you enter the correct passphrase, your certificate will be created and it will be stored in the server.crt file.


image

If your secure server is to be used in a production environment, you probably need a CA-signed certificate. It is not recommended to use self-signed certificate.


Top OS Cloud Computing at OnWorks: