Sharing the Point

Office 365, SharePoint, Project Server – Blog

Posts Tagged ‘HTTP Secure’

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 »

How to Export SSL certificate as PFX format from Internet Explorer

Posted by Ashraf on November 1, 2010

Consider: Internet Explorer 8 and you have Administrator Privilege

1.       Open Internet Explorer>Tools>Internet Options

2.       Click Content tab>Certificates

Select certificate you want to export

Select certificate you want to export

3.       Select the certificate that you want to export, click Export…, Then Click Next to the wizard

4.       Select, Yes Export the private Key, click Next

Yes, export private key

Yes, export private key

5.       Tick the Include all certificates in the certification path if possible and Export all extended properties, Then click Next

pfx export option

pfx export option

6.       Enter password 2 times

7.       Choose a location to save the file, then Next

8.       Click Finish to complete the exportation, a confirmation message will popup, click Ok

Confirm pfx export message

Confirm pfx export message

9.       Now go to the location you saved the file and use it as necessary.

>that’s all and you are DONE||


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

 
Follow

Get every new post delivered to your Inbox.

Join 59 other followers