ssl: 4 items found.

curl ipv6

curl with ipv6 sample code:

# interface 'eth0' is the interface with ipv6 enabled
curl -g -6 'http://[fe80::3ad1:35ff:fe08:cd%eth0]:80/'
curl -g -6 'http://[fe80::3ad1:35ff:fe08:cd]'

# https without ssl validate
curl -g -k -6 'https://[fe80::3ad1:35ff:fe08:cd]'
More ~

nginx: [warn] the "ssl" directive is deprecated

当执行 nginx -s reload 时报出:

nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/xxx.conf:29

原来可能这样写:

server {
    listen       443 ssl;
    server_name  www.zixi.org;
    ssl on;
    ...

现在直接去掉ssl on; 这一行即可。

More ~

Could not fetch URL https://pypi.python.org/simple/pyecharts/

用virtual env后 pip安装一些个库可能会报这个

Could not fetch URL https://pypi.python.org/simple/*/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping

原因在于pip版本过低了,我的python2.7 用env后就是8.0,可以用下面的方法更新再重试pip install

curl https://bootstrap.pypa.io/get-pip.py | python

More ~