diff options
-rw-r--r-- | ssl-config-generator/index.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ssl-config-generator/index.html b/ssl-config-generator/index.html index ac2ec5a..9ef2d60 100644 --- a/ssl-config-generator/index.html +++ b/ssl-config-generator/index.html @@ -20,7 +20,7 @@ font-size: 150%; } pre { - overflow-x: auto + overflow-x: auto; } </style> @@ -34,6 +34,7 @@ <script id="nginx-template" type="text/x-handlebars-template"> <h1>Server : {{server}} {{serverVersion}} | {{securityProfile}} profile</h1> <p>Openssl : {{opensslVersion}}</p> +<p>Oldest compatible clients : {{clientList}}</p> <pre> server { listen 443; @@ -63,6 +64,7 @@ server { <script id="apache-template" type="text/x-handlebars-template"> <h1>Server : {{server}} {{serverVersion}} | {{securityProfile}} profile</h1> <p>Openssl : {{opensslVersion}}</p> +<p>Oldest compatible clients : {{clientList}}</p> <pre> <VirtualHost *:443> ... @@ -88,6 +90,7 @@ server { <script id="haproxy-template" type="text/x-handlebars-template"> <h1>Server : {{server}} {{serverVersion}} | {{securityProfile}} profile</h1> <p>Openssl : {{opensslVersion}}</p> +<p>Oldest compatible clients : {{clientList}}</p> <span class="message">{{message}}</span> <pre style="visibility: {{visibility}};"> global @@ -126,6 +129,12 @@ frontend ft_test } }; + var clientList = { + modern: 'Firefox 27, Chrome 22, IE 11, Opera 14, Safari 7, Android 4.4, Java 8', + intermediate: 'Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7', + old: 'Windows XP IE6, Java 6' + }; + function getVersionConstrainedDirectives(data) { switch (data.server) { case "nginx": @@ -194,7 +203,8 @@ frontend ft_test jQuery.extend(data, getVersionConstrainedDirectives(data)) jQuery.extend(data, { sslProtocols: sslProtocols[data.securityProfile][data.server], - cipherSuites: cipherSuites[data.securityProfile] + cipherSuites: cipherSuites[data.securityProfile], + clientList: clientList[data.securityProfile] }); $("#server-config-text").html(template(data)); } |