Category: Web Servers

Let's Encrypt Certificates for IIS
article #1257, updated 793 days ago

Just grab the latest code here:

https://github.com/PKISharp/win-acme/releases/latest

unpack it into a folder you will keep (I used “E:\Let’s Encrypt”), and run letsencrypt.exe in the folder. The multi-site (SAN) mode works only if IIS is set up in certain ways; but the manual mode for a single site is simple and easy, and it sets up a scheduled task in Windows for the needed automatic updates.

Also recently discovered this, have not tested yet but it can come by Chocolatey, which means automatic updates are easy:

https://certifytheweb.com/

Categories:      

==============

Web site sitemap generator in Python
article #1399, updated 1474 days ago

This one works very well, unlike more than one I tested which does not:

github.com/c4software/python-sitemap

Categories:      

==============

Current version of PHP and other items on CentOS and RHEL
article #850, updated 2500 days ago

Here are two very helpful sources. For many general things, the EPEL repository:

http://fedoraproject.org/wiki/EPEL

and for PHP and other server-specifics, current versions and others more recent than the OSes supply by themselves, Remi:

http://rpms.remirepo.net/

Categories:      

==============

Diagnose and Fix SSL/TLS for a Web Site or Web Server
article #1064, updated 2686 days ago

This one courtesy of the amazing Mike Hunsinger.

  1. Run the web site SSL test here, specifying the URL to study:

https://www.ssllabs.com/ssltest/

  1. A rating of A through F, or T, will be reported. T means a fundamental problem with the certificate install itself.

An A rating means the server is set to only accept protocols such as TLS1.2, that are currently recognized as secure. Anything below an A rating means the server responded on SSL or other protocols considered insecure.

Scroll down on the SSL Labs rating page to see the technical details on what protocols were detected and which are failing security checks.

If this is a Windows web server, remote in and:

  1. Download the portable app, IISCrypto from here:

https://www.nartac.com/Products/IISCrypto/Download

Run this program on the server which hosts the website.

You’ll get a window showing all protocols that are on this server and whether they’re enabled or not. To achieve an A rating, use the details view from SSL Labs as a guide. Disable any protocols in IIS Crypto that SSL Labs flags as a security risk. Only do these after verifying that the web site / web application will certainly work with the newest protocols and does not depend on the older ones.

The protocols that a Windows webserver will accept are specified via Regedit entries. IIS Crypto reads and modifies these Regedit entries automatically.

  1. Reboot the webserver. Then retest with SSL Labs. Make further changes as dictated by the scoring detail.
  1. If you have control over workstations, use Group Policy to deploy the certificate to all of them, and to disable insecure protocols, and to enable the secured protocols.

Categories: