summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/internet.cc2
-rw-r--r--src/wx/barco_alchemy_certificate_panel.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/internet.cc b/src/lib/internet.cc
index 1f280dc5d..8c5b99e61 100644
--- a/src/lib/internet.cc
+++ b/src/lib/internet.cc
@@ -110,6 +110,8 @@ get_from_url (string url, bool pasv, bool skip_pasv_ip, ScopedTemporary& temp)
if (!pasv) {
curl_easy_setopt (curl, CURLOPT_FTPPORT, "-");
}
+ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
+ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
/* Maximum time is 20s */
curl_easy_setopt (curl, CURLOPT_TIMEOUT, 20);
diff --git a/src/wx/barco_alchemy_certificate_panel.cc b/src/wx/barco_alchemy_certificate_panel.cc
index 19bd18a8d..73b221466 100644
--- a/src/wx/barco_alchemy_certificate_panel.cc
+++ b/src/wx/barco_alchemy_certificate_panel.cc
@@ -62,7 +62,7 @@ BarcoAlchemyCertificatePanel::do_download ()
string serial = wx_to_std (_serial->GetValue());
trim(serial);
string url = String::compose (
- "ftp://%1:%2@certificates.barco.com/%3xxx/%4/Barco-ICMP.%5_cert.pem",
+ "sftp://%1:%2@certificates.barco.com/%3xxx/%4/Barco-ICMP.%5_cert.pem",
Config::instance()->barco_username().get(),
Config::instance()->barco_password().get(),
serial.substr(0, 7),