Skip to content
Guillaume Boudreau edited this page Apr 20, 2014 · 1 revision

Connect using SSL (HTTPS) to SABnzbd

SABconnect++ allows you to use HTTPS to connect to your SABnzbd installation. For example, you can use the following URL in the extension options page: https://sabnzbd.hostname.com:9090/

There is one issue that most people hit with this: by default, the certificate generated by SABnzbd is not valid.

Without a valid certificate, Chrome won't allow extensions to connect to such servers without you having to first visit the same URL manually, and confirming you want Chrome to allow this certificate. This decision will be remembered until you close your browser, so if you do that once every time you start Chrome, SABconnect++ will work fine.

If you'd like it to work with HTTPS without you having to visit the URL first, you'll need to make Chrome always accept the SSL certificate you use in SABnzbd.

You can do that by creating a valid HTTP certificate for the hostname you use to access your SABnzbd install, or by importing the certificate in your keychain, and marking it as 'Always Allow'. Exactly how to do that is detailed below.

Chrome on Windows

If you have not already done so, please create your cert/key pair here. This web application will create your cert/key files. Simply overwrite the cert/key files that came with SABnzbd with these new ones. Also make sure that when you are filling out the data to create these files, that you make "common name" the domain you are using to connect to SABnzbd.

Close and restart Chrome. Visit your SABnzbd HTTPS URL; do NOT click "Proceed Anyway". Click the lock icon that has a red X on it, on the left of your URL, in the address bar. In the popup that appears, click "Certificate Information".

In the new window that appears, click the "Details" tab, then the "Copy to File..." button

Accept all default, and choose any location for the exported certificate file. Double-click the new .cer file that was created by the previous step.

Click "Install Certificate...". In the wizard that appears, make sure you tell it you want to choose the location to install the certificate. Choose the Root Authority store after clicking "Browse". From then on, when Chrome (or any of your browser for that matter) will encounter this certificate, it will accept it as if it was a valid certificate.

Chrome on Linux

None of the SABconnect++ developers use Linux, so we unfortunately cannot provide detailed instructions here. Please visit the following links for more detailed information:

http://blog.avirtualhome.com/2010/02/02/adding-ssl-certificates-to-google-chrome-linux-ubuntu/ http://code.google.com/p/chromium/wiki/LinuxCertManagement

Chrome on Mac OS X

Close and restart Chrome. Visit your SABnzbd HTTPS URL; do NOT click "Proceed Anyway". Click the lock icon that has a red X on it, on the left of your URL, in the address bar. In the popup that appears, click "Certificate Information".

In the new window that appears, drag the blue certificate icon onto your Desktop.

Double-click the new .cer file that was created on your desktop by the previous step. Keychain Access will start.

Click "Add". Find the certificate you just added in the list (you can use the top-right search box to look for "SAB"). Double-click the certificate. In the new window that appears, open the "Trust" section at the top, and select "Always Trust" in the first drop down menu.

From then on, when Chrome (or any of your browser for that matter) will encounter this certificate, it will accept it as if it was a valid certificate.

Clone this wiki locally