• Contact
  • Cookie Policy
Techspark Blogging about technical stuff

Tag Archives: Heartbleed

SSLLabs A+ rating with nginx without breaking compatibility

February 4, 2015 5:09 PM / Leave a Comment / XeroX

Update 05.03.2015: This configuration is not vulernerable to POODLE, BEAST, HEARTBLEED or FREAK Attack. Proof: SSLLabs.com

After a lot of searching on the internet I found the perfect setting for nginx to get an A+ rating on ssllabs without breaking compatibility. There are some guides, but quite old.

nginx A+

Removing TLSv1 is easy but breaks compatibility to everything lower Android 4.4, Windows 7 IE11 and most search engine crawler.

The following settings are requitred to get A+ rating as of february 2015.

        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_dhparam /etc/ssl/nginx/dhparam.pem;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;

ssl_ciphers ‘kEECDH+ECDSA+AES128 kEECDH+ECDSA+AES256 kEECDH+AES128 kEECDH+AES256 kEDH+AES128 kEDH+AES256 DES-CBC3-SHA +SHA !aNULL !eNULL !LOW !MD5 !EXP !DSS !PSK !SRP !kECDH !CAMELLIA !RC4 !SEED’;

# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
add_header Strict-Transport-Security max-age=15768000;

resolver <trusted DNS Server>;

After restarting nginx you will see the result above with the following ciphers:

Ciphers

 

If you’re interested in even more compatibility Mozilla SSL Configuration Generator may help you to suit the configuration your needs.

Note: A+ can only be reached with SHA2 certificate or higher. Best you can reach with SHA1 is A rating.

Posted in: Webserver / Tagged: a+ rating, beast, configuration, freak, heartbleed, nginx, poodle, ssl, ssllabs, webserver

Recent Posts

  • open-vm-tools: Unknown ioctl 1976
  • Synology Virtual Machine Manager increase vDisk Limit
  • Error while trying to Access “Details” of a SharePoint App
  • Reinstall WSUS and keep downloaded content
  • SSLLabs A+ rating with nginx without breaking compatibility

Recent Comments

  • SLATES361 on open-vm-tools: Unknown ioctl 1976
  • sysadmin on JBOD with HP Smart Array P410i
  • XeroX on Display ESXi health status of Dell Perc 5/i
  • brendan on Display ESXi health status of Dell Perc 5/i
  • XeroX on Office Web Apps 2013 Management Pack for Operations Manager 2012 (R2)

Archives

  • November 2020
  • November 2015
  • June 2015
  • February 2015
  • August 2014
  • June 2014
  • February 2014
  • January 2014
  • November 2013
  • September 2013
  • August 2013

Categories

  • ESXi
  • FreeBSD
  • Hardware
  • Hyper-V
  • iOS
  • Microsoft
  • OfficeWebApps
  • Operations Manager
  • SharePoint
  • Synology
  • vCenter
  • VMWare
  • Webserver
  • Windows Server
© Copyright 2021 - Techspark
Infinity Theme by DesignCoral / WordPress
This website uses Cookies and Matomo to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Reject Opt-Out
Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.