If you have a server with a self signed certificate (for example, your mail server, or the FogBugz server itself), then you may need to tell the FogBugz server that it should trust the certificate and allow connections to be made.
Windows FogBugz Server
(Note: You may need to install the certificate while logged into Windows as the same user that runs FogBugz).
- Get the certificate file from the Server in question. You do this with openssl, or IE7 with the following steps:
- Load the FogBugz URL
- Click the SSL icon next to the URL bar in IE and select “View Certificate”
- Select “Details” > “Copy to File”
- Select .P7B format (Cryptographic Message Syntax Standard) and select “Include all certificates in the certification path if possible”
- Save it somewhere
- Import the certificate file on the FogBugz Server.
- Run Start > Run > “MMC”
- File > Add/Remove Snap-in
- Add… > Certificates
- Select Computer Account, then Local Computer
- Expand Certificates, then right-click “Trusted Root Certification Authorities” > All Tasks > Import
- Select your certificate file
- Verify that it is in the list under “Trusted Root Certification Authorities”, and that the “Advanced…” tab indicates that it is valid for “Secure Email”
Unix FogBugz Server
For FogBugz 7 on Unix / Mac, you can import the certificate into the trusted root with the mono
certmgr command on the FogBugz server. If you had mono installed before you installed FogBugz, specifying the full path (as below) will make sure to run the copy of
certmgr that FogBugz installed. This command needs to be run as root since that is the user who owns the
runtime/lib directory. Here are some examples:
/opt/fogbugz/runtime/bin/certmgr -ssl pop3s://mailserver:995
/opt/fogbugz/runtime/bin/certmgr -ssl https://server:995
Just use the correct protocol, server, and port and this command will make certmgr download and trust certificate for you.