Commit faae4c9e authored by Robert Ricci's avatar Robert Ricci

Hack: don't verify SSL certs for gitlab server

Apparently the CA we use isn't in the set that the perl LWP module uses
for its root.
parent 64b8ac17
......@@ -313,6 +313,9 @@ sub call_gitlab_api($) {
# Super simple, make the call
my $request = HTTP::Request->new(GET => $url);
my $ua = LWP::UserAgent->new;
# Hack to make this work even if one has a self-signed cert, a cert signed
# by a less well known authority, etc.
$ua->ssl_opts( verify_hostnames => 0 );
my $response = $ua->request($request);
if ($verbose) {
print "\n" . "="x80 . "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment