
我在我的筆記型電腦上安裝了 Ubuntu 16.04 LTS 進行測試。使用以下命令連接到 gmail.com。
openssl s_client -connect gmail.com:443 -ssl3
但我收到以下錯誤:
139903184385688:錯誤:140A90C4:SSL程式:SSL_CTX_new:null ssl方法已傳遞:ssl_lib.c:1878
問題:
我是否缺少任何要安裝的程式庫?或 openssl 1.0.2g-1ubuntu4.1 現在不支援 -ssl3 選項?
答案1
SSLv3 在 Ubuntu 16.04 發行的 openssl 版本中已被永久停用,因此 -ssl3 選項不再有任何作用。
來自 /usr/share/doc/openssl/changelog.Debian.gz:
openssl (1.0.2g-1ubuntu1) xenial; urgency=medium
* Merge with Debian, remaining changes.
- Disable SSLv3 without changing ABI:
+ debian/patches/no-sslv3.patch: Disable SSLv3 without using the
no-ssl3-method option
+ debian/rules: don't use no-ssl3-method, don't bump soname
+ debian/patches/engines-path.patch: don't bump soname
+ debian/patches/version-script.patch: don't bump soname
+ debian/patches/soname.patch: removed
+ debian/lib*: don't bump soname