Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,207,180 members, 7,998,075 topics. Date: Saturday, 09 November 2024 at 06:25 AM

Create Self-Signed Certificate - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Create Self-Signed Certificate (1835 Views)

Howour Certificate Can Earn You A Job In Jumia|be EMPLOYED| Learn E Commerce / SSL Certificate With Openssl / Online Marketing 2016 - A Complete Certificate Course Live On Macaranta (2) (3) (4)

(1) (Reply) (Go Down)

Create Self-Signed Certificate by arinolaa(f): 6:15pm On Dec 17, 2016
If anyone has ever created a self-signed certificate using terminal on ubuntu please reply I need help. God bless you
Re: Create Self-Signed Certificate by jidez007: 6:26pm On Dec 17, 2016
Use https://letsencrypt.org, you can create unlimited SSL with it for free on your Linux server.
Re: Create Self-Signed Certificate by lordZOUGA(m): 11:14pm On Dec 17, 2016
It is pretty straightforward. Read through this document (https://help.ubuntu.com/12.04/serverguide/certificates-and-security.html)
First create certificate key and signing request with the code below. (You will be asked some questions when you run the second command)
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.csr

Then create your self-signed certificate with the following command (expires after 365 days):
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

This should put your certificate in a file named "server.crt" in the current directory.
You should read that document linked above for best practices with certificates.
Re: Create Self-Signed Certificate by kudaisi(m): 7:06am On Dec 19, 2016
lordZOUGA:
It is pretty straightforward. Read through this document (https://help.ubuntu.com/12.04/serverguide/certificates-and-security.html)
First create certificate key and signing request with the code below. (You will be asked some questions when you run the second command)
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.csr

Then create your self-signed certificate with the following command (expires after 365 days):
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

This should put your certificate in a file named "server.crt" in the current directory.
You should read that document linked above for best practices with certificates.


Same command works on windows if you have OpenSSL installed.
Re: Create Self-Signed Certificate by Nobody: 7:10am On Dec 19, 2016
better to just buy
Re: Create Self-Signed Certificate by Jenifa123: 10:43am On Dec 19, 2016
dhtml18:
better to just buy
abi...
or u can use wosign
Re: Create Self-Signed Certificate by Nobody: 6:50pm On Dec 19, 2016
All those self-generated certificates dey get K-leg, best for testing things - how you go dey issue certificate for yourself now? when you no be APC them them
Re: Create Self-Signed Certificate by Jenifa123: 6:57pm On Dec 19, 2016
dhtml18:
All those self-generated certificates dey get K-leg, best for testing things - how you go dey issue certificate for yourself now? when you no be APC them them
sure but i tink wosign gives free certificate...
Re: Create Self-Signed Certificate by Nobody: 7:12pm On Dec 19, 2016
Jenifa123:

sure but i tink wosign gives free certificate...
But there will surely be restrictions - no certificate, not even Kindergarten certificate is free!
Re: Create Self-Signed Certificate by Jenifa123: 7:17pm On Dec 19, 2016
dhtml18:

But there will surely be restrictions - no certificate, not even Kindergarten certificate is free!
i dont tink dey r any
Re: Create Self-Signed Certificate by Nobody: 7:50pm On Dec 19, 2016
Jenifa123:

i dont tink dey r any
Hmn, okay o, lets see how it goes.
Re: Create Self-Signed Certificate by Jenifa123: 8:02pm On Dec 19, 2016
sure
Re: Create Self-Signed Certificate by jidez007: 8:09pm On Dec 19, 2016
I have used this https://letsencrypt.org. it's free but you have to install it on a Linux server, the best part is, it renews by itself every 90 days.
Re: Create Self-Signed Certificate by Jenifa123: 8:10pm On Dec 19, 2016
wosign lasts as much as five yrs before renewal
Re: Create Self-Signed Certificate by Nobody: 8:17pm On Dec 19, 2016
jidez007:
I have used this https://letsencrypt.org. it's free but you have to install it on a Linux server, the best part is, it renews by itself every 90 days.
Wow, that is good. Let us know if you have installed it.
Re: Create Self-Signed Certificate by arinolaa(f): 12:04am On Dec 29, 2016
Hey guys! Thanks for all the responses!!! You guys are amazing.
Re: Create Self-Signed Certificate by arinolaa(f): 12:05am On Dec 29, 2016
lordZOUGA:
It is pretty straightforward. Read through this document (https://help.ubuntu.com/12.04/serverguide/certificates-and-security.html)
First create certificate key and signing request with the code below. (You will be asked some questions when you run the second command)
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.csr

Then create your self-signed certificate with the following command (expires after 365 days):
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

This should put your certificate in a file named "server.crt" in the current directory.
You should read that document linked above for best practices with certificates.


Oga, the

openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt is not working embarassed
Re: Create Self-Signed Certificate by lordZOUGA(m): 12:08am On Dec 29, 2016
arinolaa:

Oga, the

openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt is not working embarassed
what error did you get?
Re: Create Self-Signed Certificate by arinolaa(f): 12:13am On Dec 29, 2016
lordZOUGA:

what error did you get?

It says no such file or directory.
Re: Create Self-Signed Certificate by arinolaa(f): 12:15am On Dec 29, 2016
Please check your DM
Re: Create Self-Signed Certificate by lordZOUGA(m): 12:23am On Dec 29, 2016
arinolaa:


It says no such file or directory.
The error indicates that either the "server.csr" or "server.key" file does not exist or you don't have openssl installed
Re: Create Self-Signed Certificate by arinolaa(f): 12:31am On Dec 29, 2016
lordZOUGA:

The error indicates that either the "server.csr" or "server.key" file does not exist or you don't have openssl installed
Okay, can you check your Direct message?
Re: Create Self-Signed Certificate by lordZOUGA(m): 12:35am On Dec 29, 2016
arinolaa:

Okay, can you check your Direct message?
Yes and I have replied that.
Re: Create Self-Signed Certificate by arinolaa(f): 1:07am On Dec 29, 2016
lordZOUGA:

Yes and I have replied that.

Hi I've also replied.
Re: Create Self-Signed Certificate by jidez007: 6:10pm On Jan 30, 2017
dhtml18:

Wow, that is good. Let us know if you have installed it.
OK, here is a tutorial for it
https://serversforhackers.com/video/letsencrypt-for-free-easy-ssl-certificates

(1) (Reply)

Java Gurus Please I Need This Little Assignment Solved ''appreciation Involved" / How To Activate Mtn 75mb Data With #20 / What Changes Were Used To Speed Up NL?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 23
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.