Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 09:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[SSL] Generate a Certificate Signing Request (CSR)

Discussion on [SSL] Generate a Certificate Signing Request (CSR) within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
Angellinho's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 102
Received Thanks: 25
[SSL] Generate a Certificate Signing Request (CSR)

Boooooooooooorrreeeeedddd!

Installation on Apache Windows.
Key bit size: 2048-bit.

Ok, then...Step 1: Generate the Private Key.
The "openssl" is used to generate key and CSR. It comes with OpenSSL package and is usually installed into /usr/local/ssl/bin.
If not, these function will have to be adjusted.

Open a command promt and type the following command. Write "openssl" first in the command promt.

Code:
 openssl genrsa -des3 -out <file name of the private key>.key 2048
By the way, for all SSL certificates, the CSR key bit length must be 2048.

enter then a secure password and remember it. that password will protect the private key.

Just in case: To bypass the pass phrase, omit the -des3 option while generating the private key.

Second Step: Generating the CSR

Type this command at the prompt:

Code:
 openssl req -new -key <file name of the private key>.key -config "C:\AppServ\Apache2.2\conf\openssl.cnf" -out <csr file name>.csr
Enter then the pass phrase of the private key.

Then the command will prompt the X.509 attributes of the certificate.

Country name: you should use two-letters code without punctuation for country, ex: RO

State or Province: fill there the state completely, not abbreviate.

Locality or City: The Locality field is the city or town name as I think you know.

Company: your company name.

Organizational Unit(Optional): it is optional. OU field is the name of the department or organization unit making the request. To skip, press ENTER.

Common Name: It`s the Host + Domain Name. ex: "www.angell.com" or "angell.com"
NOTE: a certificate for domain "angell.com" will receive a warning if accessing a site named "www.angell.com" or "secure.angell.com".

Skip the other steps...

The public/private key has been created. The private key is stored on the locally server machine and is used for decrypton.

Angellinho is offline  
Reply


Similar Threads Similar Threads
Gladiators Certificate
01/08/2012 - 4Story - 1 Replies
Wie der Thread schon sagt, wie bekommt man das Gladiators Certificate? Und was sind Achievement Points & wie bekommt man die ?
[Remote Login Issue] Expired Security certificate
01/07/2011 - Shaiya Private Server - 0 Replies
Hi guys, i am having a small (and newly developed) issue with 1 of 4 computers and cant seem to figure why. Comp #1 Windows 98 SE 16 bit FAT Comp #2 Windows XP Pro 32bit NTFS Comp #3 Vista Premium 64bit NTFS Comp #4 Windows 7 MC 32bit NTFS Before NYE all where able to connect remotely to the server, when i returned from 2 days break Comp #3 will no longer connect and displays a warning that the certificate has expired. And as luck would have it, the #3 Comp is the newest/most...
Kamael certificate
10/19/2010 - Lin2 Private Server - 0 Replies
kamael doombrng certificate How should ?
Was ist ein silver certificate?
05/31/2010 - Metin2 - 1 Replies
Frage steht oben=)



All times are GMT +2. The time now is 09:07.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.