[rt-users] SSL no verify function for rt cli tool? (with workaround)

Christian Loos cloos at netcologne.de
Thu Aug 27 02:06:25 EDT 2015


Am 27.08.2015 um 03:18 schrieb Dion Gullotta:
> I realise this isn’t an RT problem as it is really LWP, but it would be
> nice if the RT CLI supported a --no-verify-ssl option to workaround
> these situations. As it stands I had to edit the code of /opt/rt4/bin/rt
> and added the following on line 54 which allowed us to move forward, but
> this will be an issue for future upgrades:
> 
>  
> 
> BEGIN { $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;}
> 

You don't have to modify the code.
You can set "export PERL_LWP_SSL_VERIFY_HOSTNAME=0" somewhere on the
client host (/etc/environment or ~/.bashrc of the user who use the rt
client).

But remember that this will affect all LWP calls.

Chris



More information about the rt-users mailing list