End.
原
Linux查看openssl版本
1、Linux查看openssl版本,命令
openssl version
[root@localhost ~]# openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017
2、查看php,openssl扩展版本,命令
php -i | grep -i ssl
[root@localhost ~]# php -i | grep -i ssl
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls, tlsv1.0, tlsv1.1, tlsv1.2
SSL => Yes
SSL Version => NSS/3.44
core SSL => supported
extended SSL => supported
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.0.2k-fips 26 Jan 2017
OpenSSL Header Version => OpenSSL 1.0.2k 26 Jan 2017
Openssl default config => /etc/pki/tls/openssl.cnf
openssl.cafile => no value => no value
openssl.capath => no value => no value
Native OpenSSL support => enabled
openssl => OpenSSL 1.0.2k-fips 26 Jan 2017
End.