Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to generate a CSR on web server


WiseWombat

Recommended Posts

Can someone explain to me how to generate a Certificate signing request (CSR) for an apache server?

As I do not know how to run the command.

 

Thanks in advance!

 

:'(

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

do you have a cpanel/vdeck? if so, there is a link there. also if you have whm it is in there.

you can also ask your host to generate your csr for you.

Link to comment
Share on other sites

do you have access to the shell? what version of apache do you have?

 

apache + apachessl

apache _ modssl

apache + openssl

 

it all depends which you have for the exact command

Link to comment
Share on other sites

do you have access to the shell?  what version of apache do you have?

 

apache + apachessl

apache _ modssl

apache + openssl

 

it all depends which you have for the exact command

Im running apache 2.0.53

 

apache + apachessl ???

apache _ modssl ???

apache + openssl ???

thanks

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

This is what needs to be done with Apache +OpenSSL

 

Genenerating a Certificate Signing Request (CSR) using

Apache Mod_SSL

A CSR is a file containing your certificate application information, including your Public Key. Generate your CSR and then copy and paste the CSR file into the webform in the enrollment process:

 

Generate keys and certificate:

 

To generate a pair of private key and public Certificate Signing Request (CSR) for a webserver, "server", use the following command :

 

openssl req ?new ?nodes -keyout myserver.key ?out server.csr

 

This creates a two files. The file myserver.key contains a private key; do not disclose this file to anyone. Carefully protect the private key.

 

In particular, be sure to backup the private key, as there is no means to recover it should it be lost. The private key is used as input in the command to generate a Certificate Signing Request (CSR).

 

You will now be asked to enter details to be entered into your CSR.

What you are about to enter is what is called a Distinguished Name or a DN.

 

For some fields there will be a default value, If you enter '.', the field will be left blank.

 

-----

Country Name (2 letter code) [uS]: US

State or Province Name (full name) []: Texas

Locality Name (eg, city) []: Houston

Organization Name (eg, company) []: Your Company Inc

Organizational Unit Name (eg, section) []: Your Department

Common Name (eg, YOUR name) []: secure.yourcompanyname.com

Email Address []:

 

Please enter the following 'extra' attributes to be sent with your certificate request

 

A challenge password []:

An optional company name []:

-----

 

Use the name of the webserver as Common Name (CN). If the domain name is mydomain.com append the domain to the hostname (use the fully qualified domain name).

 

The fields email address, optional company name and challenge password can be left blank for a webserver certificate.

 

 

Your CSR will now have been created. Open the server.csr in a text editor and copy and paste the contents into the online enrollment form when requested.

Link to comment
Share on other sites

open the store admin, tools, server info and you should find what all you have with apache there

sorry I cant find a thing there regarding ssl ??

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

This is the part I dont understand how do I do it??

how do I use the following command :

 

 

To generate a pair of private key and public Certificate Signing Request (CSR) for a webserver, "server", use the following command :

 

      openssl req ?new ?nodes -keyout myserver.key ?out server.csr

 

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

type it in at the shell prompt, and you should get everything returned where you can start keying things in. again, you need to find out how apache is setup via your admin/tools/server info

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...