Kattare Internet Hosting Home | Home | Services | Contact Us | Order Online! |   whitespace image
  Kattare I/S: View FAQ Answer

| Webmail | Forums | News | FAQ | Members Login |  

whitespace image
tail end of the Kattare logo Toll Free: (866) KATTARE -or- (877) KATTARE
Local: (541) 753-1079
keyboard image for php hosting, jsp hosting, servlet hosting, java hosting website
Better Business Bureau Online  
whitespace image

   

whitespace image
greenspace image for php hosting, jsp hosting, servlet hosting, java hosting website

Home

Hosting Services

Server Co-Location
Dedicated Server
Java Servlet Hosting
Website Hosting
WHOIS Lookup
Join Us Today!

Members

Member Forums
Documentation
Kattare F.A.Q.
Free Software
Members Section
News
Referral System
Spam Blocking
Webmail

Development

Programming
Website Design
Graphic Design

Company

About Us
Contact Us
Our Network
Page Us
Sites We Host
Terms of Service


whitespace image
Documentation

Kattare is dedicated to making your hosting experience as painless as possible. That means making as much help and documentation available as possible.

Quick Links
[Frequently Asked Questions]
[User Forums]
[Howto's]
Category
SSL
Question

Last Modified: Jun 05, 2007

My SSL certificate company needs a CSR, how do I get a CSR?
Answer

Most SSL distributors will ask for a CSR when you try to purchase a certificate from them. Follow these instructions to generate a CSR for your domain.

  1. SSH into your webserver with your login name and password.
  2. Create a directory to store your certificate key, certificate CSR, and certificate.
  3. mkdir certs ; cd certs

  4. Type the following command to generate your RSA private key, please adjust the filename 'domainname.key' accordingly.
  5. openssl genrsa -out domainname.key 1024

  6. Type the following command to create a CSR with the RSA private key, adjusting the filenames for your domain name (output will be PEM format):

    openssl req -new -key domainname.key -out domainname.csr

  7. When creating a CSR you must follow these conventions. Enter the information to be displayed in the certificate. The following characters can not be accepted: < > ~ ! @ # $ % ^ * / \ ( ) ?.,&

    DN Field

    Explanation

    Example

    Common Name The fully qualified domain name for your web server. This must be an exact match. If you intend to secure the URL https://www.geotrust.com, then your CSR's common name must be www.geotrust.com.
    Organization The exact legal name of your organization. Do not abbreviate your organization name. GeoTrust
    Organization Unit Section of the organization Marketing
    City or Locality The city where your organization is legally located. Wellesley Hills
    State or Province The state or province where your organization is legally located. Can not be abbreviated. Massachusetts
    Country The two-letter ISO abbreviation for your country. US

  8. Do not enter extra attributes at the prompt.
  9. Warning: Please leave the challenge password blank (press <enter>)

    Note: If you would like to verify the contents of the CSR, use the following command:

    openssl req -noout -text -in domainname.csr

  10. Submit your CSR to your SSL signing company. You can either download the 'domainname.csr' file via FTP and view it locally, or you can use 'cat' to view it at the prompt.
  11. cat domainname.csr

    Note: You can also self-sign a certificate, for testing purposes. (viewers will see a security warning)

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

  12. Create a backup of your private key!

    Make a copy of the private key file (domainname.key) generated in step 3 and store it in a safe place! If you lose this file, you must purchase a new certificate.


[FAQ Main] [Submit a Question]

[Back to Category "SSL"]


whitespace image
green spacer Kattare Logo whitespace image
 
whitespace image
whitespace image