我很難用瀏覽器訪問啓用了SSL/TLS的tomcat-6.0.36-windows-x64服務器。它適用於openssl,但不適用於任何瀏覽器。Tomcat 6 ERR_SSL_VERSION_OR_CIPHER_MISMATCH/ssl_error_no_cypher_overlap
初始化看起來不錯:
16.01.2013 16:45:09 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
而且OpenSSL:已 openssl s_client -tls1 -connect localhost:8443:
結果:
New, TLSv1/SSLv3, Cipher is ECDH-ECDSA-AES256-SHA
Server public key is 256 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : ECDH-ECDSA-AES256-SHA
僅限於網站的瀏覽器不工作:
火狐15.0.1說:ssl_error_no_cypher_overlap
的Chrome 24.0.1312.52 L:ERR_SSL_VERSION_OR_CIPHER_MISMATCH
這是Tomcat的配置:
Connector port="8443" maxHttpHeaderSize="8192"
protocol="org.apache.coyote.http11.Http11AprProtocol" maxThreads="150" scheme="https" secure="true"
SSLProtocol="all"
enableLookups="false" disableUploadTimeout="true" acceptCount="100" SSLEnabled="true" SSLCertificateFile="../ecc_servercert.crt" SSLCertificateKeyFile="../ec_serverkey.pem"
證書是基於黃道曲線算法:
openssl ecparam -out c:\ecc\ec_serverkey.pem -name secp256k1 -genkey
openssl req -new -x509 -nodes -days 365 -key c:\ecc\ec_serverkey.pem -out c:\ecc\ecc_servercert.crt
希望有人有想法? Accourding到搜索的時間,則應該的browers支持此configuariton ...
Ragards,託比
這實際上是瀏覽器ecc支持和tomcats dcc配置的滯後。 openssl更具有容錯能力。但你只給了答案,所以你得到綠色確定:-) – user1717811