Importing multiple intermediate certificates on Synology DSM 5.0

11 Jul 2014 . posts . Comments
#Synology #Systems Administration

I recently bought an SSL certificate from Comodo, and when I got my certificate I also received two intermediate certificates…

The problem came when trying to import the two intermediate certificates… on the Synology DSM 5.0 firmware, there’s only one field for the intermediate certificates…

Screen Shot 2014-07-11 at 12.09.35 pm

So how did I get both certificates into the one file? It’s actually really simple - I combined the two certificates into a single, .crt file and then selected the combined file as the “intermediate certificate”. The web server reboots and then there are no nasty Firefox/Crome errors like “sec_error_unknown_issuer”.

Thanks to this serverfault answer!

Comments:

#### David -

Thank you so much. This was really helpful.


#### Anthony -

You’re more than welcome :-), I’m glad you found my post useful!


#### Anthony -

I know, right? I’m glad you found it useful - and thank you for your tips too!


#### Vita -

As unlikely as it seems this does actually work. Thank you very much. I wanted to install Starfield certificate with the intermediate but it was not easy. Thanks to your article I was able to resolve the last issue I had. I exported the two intermediate certificates from the p7b file - note for newbies, it has to be exported as Base-64 .cer file. Then merged them together in Notepad and saved as UTF-8. The I was finally able to import it. Thanks again



Me

Anthony is an Australian software engineer and mathematician. As a UTS MBT graduate, Anthony is the technology co-founder of a property and cycling-tech startup and enjoys teaching and learning coding with the Australian startup scene.