Where should I add a trusted certificate?

Status
Not open for further replies.

Johan

Cadet
Joined
Oct 9, 2013
Messages
9
I want to add a trusted certificate to the openssl used by a plugin (Transmission in case it matters). I can't seem to figure out how the openssl installation used by FreeNAS works. There's a ton of etc directories if you include the jailed/pbied ones, and none of them have the layout I expected. Is this documented somewhere?
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Unfortunately this is not possible as the transmission web interface does not support SSL.
 

Johan

Cadet
Joined
Oct 9, 2013
Messages
9
That's beside the point. I'm not interested in the UI. What I want is https tracker support, which IS in Transmission as far as I know.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Oh, you did not actually mention that in your original post.
Transmission is using curl to fetch data from trackers. Curl in the BT plugin is configured to use this certificate bundle:
/usr/pbi/transmission-amd64/share/certs/ca-root-nss.crt
(you can check the CA path by running /usr/pbi/transmission-amd64/bin/curl-config --ca)
You can override the default by pointing environmental variable CURL_CA_BUNDLE to the cert bundle you want to use.
So, you can either overwrite/append the default cert file, or you can use the env. variable.
 

Johan

Cadet
Joined
Oct 9, 2013
Messages
9
Ok, thank you. I'll look into the curl angle, but I want to add a particular site certificate that is signed by a CA that I in general don't trust (RapidSSL). So each app does its own SSL, even within one particular plugin?
 
Status
Not open for further replies.
Top