OpenSSL v1.1.1 Ubuntu 20 TLSv1 - no protocols available

前端 未结 3 891
野性不改
野性不改 2020-12-16 06:17

In Ubuntu 20.04, through a VPN, I can no longer access a server, which uses the TLSv1 protocol.

In Ubuntu 18.04, it was working.

First I connect to the VPN v

3条回答
  •  别那么骄傲
    2020-12-16 07:15

    I've just solved my problem with - https://askubuntu.com/questions/1233186/ubuntu-20-04-how-to-set-lower-ssl-security-level

    Just quoting this link:

    You need to add this to the beginning of your config file:

    openssl_conf = default_conf
    

    And then this to the end:

    [ default_conf ]
    
    ssl_conf = ssl_sect
    
    [ssl_sect]
    
    system_default = ssl_default_sect
    
    [ssl_default_sect]
    MinProtocol = TLSv1
    CipherString = DEFAULT:@SECLEVEL=1
    

    The comment on the above link said:

    Note that if you prefer you can make changes to a local copy of the config file, and then ensure your process is started with the environment variable OPENSSL_CONF defined to point at the location of your config file:
    
    export OPENSSL_CONF=/path/to/my/openssl.cnf
    
    This way you can make changes without having to impact your entire system.
    

    I used the second choice "export OPENSSL_CONF=/path/to/my/openssl.cnf" and worked perfectly!

提交回复
热议问题