Sharing the Point

Office 365, SharePoint, Project Server – Blog

Posts Tagged ‘SSL’

How to Install Certificate Services on Windows Server 2008 R2

Posted by Ashraf on December 6, 2010

Considering that you have already installed Active Directory.

1.  In the  ‘Server Manager’, select Roles in the left pane, then Add Roles in the right pane.  Place a check mark in the check box for Active Directory Certificate Services.  Then click Next.

Select Server Roles

Active Directory Certificate Services

2.       Select Certification Authority and Certification Authority Web Enrollment role service, click Next.

Select Role Service

Select Role Service

3.       Select Enterprise CA from Specify Setup Type then

Select Enterprise CA from Specify Setup page

Select Enterprise CA

Next.

4.       From Specify CA type choose Root CA, Next

From Specify CA type choose Root CA

From Specify CA type choose Root CA

5.       Setup Private key section choose Create a new private key, Next

Create a new private key

Create a new private key

6.       Configure cryptography for CA; leave default settings, Next

Configure Cryptography for CA

Configure Cryptography for CA

7.       Configure CA name; here you can change common name for this CA as per your need or leave the default settings. It will generate according to your domain name and computer name.

common name for this CA

common name for this CA

8.       There are some dependencies to IIS web server, so select it to install and choose all roles services from iis, Next

9.       Click install to start the installation process.

Confirm Installation

Confirm Installation

10.   Installation result page will show you the result of the setup, click close to exit the Windows.

Installation result page

Installation result page

Installing Microsoft Active Directory Certificate Services in this way is very straightforward approach but useful for the beginner.

In my Next post Installing Certificate Enrollment Web Service i will cover how to install role services such as Certificate Enrollment Web Service to request Web server, User certificates to this CA through web.


ertificate Enrollment Web Service

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: , , , , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 59 other followers