How can I check my browser to see if it supports 128-bit encryption?

I was given the task of finding a replacement for part of the old code. I assume it is tested to see if the browser supports 128 bit encryption. Here is the old code: (I intentionally split the link into 4 lines) Have you ever seen this code before? How can I duplicate this functionality inside a php page?

http://www.verisign.com/update-cgi/outPage.exe
?good=../docs/html/good.html
&nsbad=../docs/html/upgradeNSonly.html
&ie2=../docs/html/upgradeIEonly.html




Explanation The
old webmaster found a link to verisign that did a browser check. Since then, Verisign has stopped supporting this link. Personally, I think that we just need to ask our customers to click on Help> About inside the browser and find the strength of the encryption. If it is not at least 128, then we just tell them to update the browser.

+3
source share
4 answers

All modern browsers support 128-bit encryption out of the box. Do you have a need to support browsers older than IE 5.5?

User-Agent , , , 128- SSL-, ... , .

+1

, , - URL.

, , : " php?" ...

-, , , , - , . , , - .

mod_ssl apache, mod_php ( , /- PHP), $_SERVER, "SSL_CIPHER", "SSL_CIPHER_USEKEYSIZE", "SSL_CIPHER_ALGKEYSIZE" "SSL_SERVER_A_KEY"

.

http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#envvars

, , , , , , :

, , 128- ?

.

+1

SSL , ; , , . ( "" ), HTTP .

, SSL- , , 128 . , 128 , 128 , . , , .

:

  • , SSL;
  • , , ;
  • , , . PHP.

Apache mod_ssl , 1 ( SSLCipherSuite) " ", , , SSL , ; , SSL_CIPHER_USEKEYSIZE . , 3 . , PHP.

2 . "SSLCipherSuite", -, , , 2 , .

, 3DES. 192- . , 192 168 ( , , ). , , 112- , , . , NIST ( , ) , 3DES " 112 ", 112 128.

, 112 - ( , , 30 , ), , "" 128 , , .

+1

128 . , , - (, 40 56).

I suggest you ask how to configure a web server to enforce it based on your platform at:

http://serverfault.com

0
source

Source: https://habr.com/ru/post/1730915/


All Articles