How do I specify SSL CipherString with Perl LWP?

641 Views Asked by At

I access several websites for various reasons using Perl LWP. It has been working great for years until I upgraded my server from Ubuntu 18.04 to 20.04 recently, and then LWP stopped working for one particular website. It seems that is a very old server that uses old security settings. I wish they would update their site but I doubt they will. I was eventually able to get everything working again by globally downgrading the security of my entire server by updating my /etc/ssl/openssl.conf thusly:

[ default_conf ]
 ssl_conf = ssl_sect
 
[ ssl_sect ] 
 system_default = system_default_sect
 
[system_default_sect]
 CipherString = DEFAULT:@SECLEVEL=1

I can't find a way to set the CipherString for a particular LWP connection. Does anybody have any ideas?

0

There are 0 best solutions below