CSR | Cert
Generate and Install SSL CSR in JBoss Webserver Windows
In This tutorial, We will try to Generate a CSR and Install it into JBoss Webserver.
Here is the simple steps how to do this:
Login as Administrator via remote desktop connection
[code]Click Start > Run > cmd [/code]
We need to set path to JAVA_HOME, you can just copy paste into the command box.
[code]c:\>set path=%path%;%JAVA_HOME%\bin\[/code]
Create jboss-ssl directory
[code]c:\>mkdir jboss-ssl[/code]
How To Install Certificate in Windows IIS Webserver
In this tutorial i assume you have generate your csr and also have purchased a Certificate from verisign/digicert,etc..
If you still don't generate a CSR. Here is the link How to generate CSR in Windows IIS
http://wowtutorial.org/en/tutorial/33.html
Let's start install a brandnew purchased cert in IIS webserver.
[code]Login as Administrator with Remote Desktop Connection.
Click Start > Administrative Tools > Internet Information Services (IIS) Manager[/code]
How To Install Certificate in Linux/Unix Servers Apache Webserver
In this tutorial i assume you have generate a CSR and Key before. If you still don't have a CSR and Key you can see copy and paste this url below and generate your csr and key first before you can install your brand new purchase ssl from verisign/geocert, etc.
http://wowtutorial.org/en/tutorial/34.html <-- This is a link How To Generate SSL In Linux/Unix Server.
How To Generate SSL CSR in Linux/Unix Servers
This is a simple way to generate a Certificate Signing Request ( CSR) in Linux/Unix server.
Please SSH into your webserver via Putty or secure ssh tool with root access.
First we will need a openssl package installed on the server
[code]root@athena:/home/sentono/testing#apt-get install openssl* [/code]
Generate a private key and a public Certificate Signing Request (CSR) by using the following command: openssl req -new -nodes -keyout myserver.key -out server.csr
How To Generate SSL CSR in Windows Servers
What is CSR?
CSR is Certificate Signing Requests. We should generate a CSR and purchase our Certificate with Certificate Authority like verisign, digicert ,geocert , etc.
SSL Certificate is use to secure your website transaction with encryption algorithm.
Below is the steps how to generate csr from windows servers.
Importing your Certificate/Private Key in IIS (from .pfx file format)
First we need to login as administrator with terminal services
Below is the steps how to import cert to IIS
[code]Click Start and choose Run
Type in MMC and click GO
Go into the Console Tab (or File) > select Add/Remove Snap-in
Click on Add > Double Click on Certificates and click on Add > OK
Select Computer Account [/code]
How To Export Cer To PFX Certificate From Apache To IIS
In order to export the Certificate, Private Key and any intermediate certificate as a pfx file use the command below:
Login as root into your Linux server.
[code]$openssl pkcs12 -export -in my.cert -inkey my.key -certfile my.csr -out my.pfx[/code]
Enter Export Password : password123 (ex : password123)
From the above command it will build a my.pfx file from my.cert and my.key
Remember to change the names to match your file names
Example my.cert, my.key and my.csr :
Import IIS pfx file cert to Apache or other non-Windows-based servers
Most servers use plaintext certificate files. The certificate files that you download from your digicert/verisign and other account are already in this format. However, the private key that was generated on your IIS server is not yet in this format. This same private key is required for your certificate to function properly on your non-Windows-based server. To export the private key from the Windows IIS server to your non-windows-based machine, you must extract the private key from a Windows .pfx backup certificate. To do this you will use the OpenSSL utility to extract the private key from the .pfx backup file:
Login into your server via SSH with root access:
[code]$openssl pkcs12 -in mypfxfile.pfx -out outputfile.txt -nodes [/code]
The above command would have created a text file named outputfile.txt. Open this file with a text editor and you will see the private key and cert listed in one file like below :
Recent comments
6 hours 40 min ago
3 days 7 hours ago
3 days 7 hours ago
1 week 4 days ago
4 weeks 3 days ago
6 weeks 4 days ago
8 weeks 1 hour ago
9 weeks 5 days ago
9 weeks 5 days ago
15 weeks 1 day ago