diff options
author | Andras Timar <atimar@suse.com> | 2013-05-07 14:00:57 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-05-07 14:00:57 +0200 |
commit | 87300967302507220e9a33e1f48d73779c584791 (patch) | |
tree | e11c083d98380d3d1df7128fc0472074f50dcdf8 | |
parent | dd11e905ed069b1a0e14d5cb3076e5a048d4e842 (diff) |
do not verify hostname when using SSL
Change-Id: I9f89e0b185661a92c63937853c53afecea0d57fc
-rwxr-xr-x | upload-wiki.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/upload-wiki.pl b/upload-wiki.pl index 1337900fde..94eb4cd1e8 100755 --- a/upload-wiki.pl +++ b/upload-wiki.pl @@ -105,6 +105,8 @@ if ( $upload_images ) { } } +$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0; + # initialize the wiki my $mw = MediaWiki::API->new(); $mw->{config}->{api_url} = $url; |