CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.76k stars 483 forks source link

csslint.net doesn't support SSL #722

Open optimalisatie opened 6 years ago

optimalisatie commented 6 years ago

Hi!

First of all thanks a lot for providing a great tool for enhancing CSS quality and performance!

I wanted to report that https://www.csslint.net/ is showing a SSL error.

image

abc985 commented 6 years ago

I find this problem alike.

Julix91 commented 6 years ago

Solution is easy: go to http://www.csslint.net/ instead. It doesn't have ssl yet.

optimalisatie commented 6 years ago

If there is access to the web server it would be possible to use the free Let's Encrypt SSL certificate service.

https://letsencrypt.org/

The certbot tool will automatically renew certificates.

To create a certificate:

certbot certonly -a webroot --webroot-path=/home/csslint.net/httpdocs -d csslint.net -d www.csslint.net

To allow certificate verification in Nginx:

# lets encrypt
location ^~ /.well-known/ {
    default_type "text/plain";
    allow all;
    try_files $uri =404;
}