Sharing the Point

Office 365, SharePoint, Project Server – Support Blog

Posts Tagged ‘SSL’

How to Install Certificate Services on Windows Server 2008 R2

Posted by Ashraf on December 6, 2010

This post is moved to,

http://mroffice365.com/2010/12/how-to-install-certificate-services-on-windows-server-2008-r2/

Advertisements

Posted in Digital Certificate - SSL, System Administration, Windows Server | Tagged: , , , , , , | 1 Comment »

How to Redirect all http requests to https on Tomcat by default

Posted by Ashraf on November 23, 2010

***Considering that you already enable SSL with proper certificate.

To auto redirect all of your webserver requests from http to https just paste the following to your tomcat installation folder\conf\web.xml file and restart the service.

<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Context</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<!– auth-constraint goes here if you requre authentication –>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>

Now browse http://localhost and it will automatically go to https://localhost , for example.

Posted in System Administration, Windows Server | Tagged: , , , , , | Comments Off on How to Redirect all http requests to https on Tomcat by default

How to Export SSL certificate as PFX format from Internet Explorer

Posted by Ashraf on November 1, 2010

This post is moved to,

http://mroffice365.com/2010/11/how-to-export-ssl-certificate-as-pfx-format-from-internet-explorer/

 

Posted in System Administration, Windows Server | Tagged: , , , | 1 Comment »

How to Create a IIS 7 Web Server Certificate Signing Request (CSR)

Posted by Ashraf on October 25, 2010

Consider: Windows Server, IIS 7.5

To create a certificate signing request from iis please follow these instructions:

  • Enter the information according to your need. And Click, Next
web server certificate Request

web server certificate Request

Note: Common name must be the same name of the domain or host you are going to implement certificate

  • Select Cryptography service provider and bit length, leave this value as default. Click, Next
Cryptography service provider and bit length

Cryptography service provider and bit length

  • Save your request to a text file and send it to the certificate authority (CA) for issuing you a certificate.
Save your request as txt file

Save your request as txt file

  • Click Finish.

Posted in System Administration, Windows Server | Tagged: , , , , , | Comments Off on How to Create a IIS 7 Web Server Certificate Signing Request (CSR)

Generate a Certificate Signing Request (CSR) for Tomcat with Keytool

Posted by Ashraf on October 24, 2010

To generate a Certificate Signing Request (CSR), perform the following steps:

Consider: Jdk1.6 and Windows Server with Tomcat 6.0

1. Create a certificate keystore and private key with the following command:

  1. i. C:\Program Files\Java\javaversionhere\bin>keytool -genkey -alias your_alaias_name -keyalg RSA -keystore your_keystore_filename
  2. ii. Specify the password – must be at least 6 characters long, and MUST be remembered.

2. You must input the following:
* What is your first and last name? *This is the Common Name Field – The Fully Qualified Domain Name MUST be entered here*
[Unknown]: http://www.yourdomain.com
* What is the name of your organizational unit?
[Global Sign]: IT
* What is the name of your organization?
[Global Sign]: MyOrganization
* What is the name of your City or Locality?
[London]:PARIS
* What is the name of your State or Province?
[London]: PARIS
* What is the two-letter country code for this unit?
[GB]: FR
* Is CN=www.yourdomain.com, OU=IT, O=MyOrganization, L=PARIS, ST=PARIS, C=FR correct?
[no]: yes
* Enter key password for
(RETURN if same as keystore password):

3. Create the Certificate Signing Request file with the following command:

  1. C:\Program Files\Java\javaversionhere\bin>keytool -certreq -keyalg RSA -alias your_alias_name -file certreq.csr -keystore your_keystore_filename
  2. Enter keystore password: your_password_here
  3. The certreq.txt file will now be generated – this file can be entered into the website. Insure to include:
    * —–BEGIN NEW CERTIFICATE REQUEST—–
    * —–END NEW CERTIFICATE REQUEST—–

Posted in System Administration, Windows Server | Tagged: , , , , | 3 Comments »

 
%d bloggers like this: