Sharing the Point

Office 365, SharePoint, Project Server – Support Blog

Posts Tagged ‘Transport Layer Security’

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 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)

 
%d bloggers like this: