www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - security update for dlang-requests


This is just notification about next dlang-requests release, 
where ssl peer verification will be turned on by default(instead 
of 'off'). This can lead to ssl exceptions if you send requests 
to servers with self-signed certificates for example.

How to fix in case of problems:

1) you can turn verification off:

     auto rq = Request();

2) you can make your certificate "trusted". For example for 
openssl on debian: 

3) you can call sslSetCaCert to add it for single requests call:


Hope this helps, if not - please post bugreports to github 
Apr 21 2018