You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by dg...@apache.org on 2019/03/07 19:38:26 UTC

[trafficcontrol] branch 3.0.x updated: Bugfix for self-signed SSL certs in ORT script (#3387)

This is an automated email from the ASF dual-hosted git repository.

dgelinas pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/3.0.x by this push:
     new 127db1f  Bugfix for self-signed SSL certs in ORT script (#3387)
127db1f is described below

commit 127db1ff8684e8213f61a82ec4ee4158f2978517
Author: Hank Beatty <hb...@users.noreply.github.com>
AuthorDate: Thu Mar 7 14:38:22 2019 -0500

    Bugfix for self-signed SSL certs in ORT script (#3387)
---
 traffic_ops/bin/traffic_ops_ort.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/traffic_ops/bin/traffic_ops_ort.pl b/traffic_ops/bin/traffic_ops_ort.pl
index cfa68f7..17b94c9 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -1622,8 +1622,7 @@ sub get_cookie {
 
 	my $url = $to_host . "/api/1.3/user/login";
     	my $json = qq/{ "u": "$u", "p": "$p"}/;
-    	my $lwp = LWP::UserAgent->new;
-    	my $response = $lwp->post($url, Content => $json);
+	my $response = $lwp_conn->post($url, Content => $json);
 
     	&check_lwp_response_code($response, $FATAL);