This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No Luck Using a SSL Certificate with WebAdmin/User Portal

Short Version:
————————
I am unable to successfully install a publicly signed SSL certificate and along with it’s intermediate certificate for use in WebAdmin and the User Portal. 

After installation only some browsers (Safari & Chrome on OS X) show it as trusted. Others (Firefox on OS X, Safari on iOS, Chrome on Android, etc.) show it as untrusted.

Can anyone provide guidance?


Long Version:
————————
Following the KB articles at:
Create and Import a Public Signed Certificate for UTM Web Application Security
How to import and use your own certificate for WebAdmin in Astaro Security Gateway

I created a private key and corresponding CSR and submitted it for a UCC certificate with 20 SAN’s.

Using openssl I combined the resulting certificate and my private key in to a [FONT="Courier New"]p12[/FONT] file.  I uploaded it to the UTM (Remote Access > Certificate Management > Certificate > + New certificate), along with the Intermediate certificate previously converted from a crt to pem using openssl (Remote Access > Certificate Management > Certificate > Certificate Authority).  

I then selected the cert (Managment > WebAdmin Settings HTTPS Certificate > Choose WebAdmin/User Portal Certificate).

When testing across browsers Safari and Chrome show the certificate as trusted/verified.  However, iOS, Android, Firefox, etc. do not.

When verifying via openssl with the command:

[FONT="Courier New"]openssl s_client -showcerts -connect mywebadmin.mydomain.com.au:443[/FONT]

I get the error:

[FONT="Courier New"]Verify return code: 21 (unable to verify the first certificate)[/FONT]

Only the primary domain certificate is listed; not the intermediate or the root, so there appears to be no chain of trust.  It would appear that most likely the browsers that work are assembling the chain of trust from their own keystones???

Using the exact same [FONT="Courier New"]p12[/FONT] on other servers works perfectly fine.  Browsers accept and openssl (which I am assuming does not have  a keystore) verify it as fine displaying the full chain of trust.  I have tried adding the complete trust chain (primary domain + intermediate CA + root CA)  to the certificate to no avail.  From what I can tell the intermediate CA is not being presented to clients, only the primary.  But I'm a noob when it comes to SSL.

Any suggestions on fixing?


This thread was automatically locked due to age.
  • This thread goes back 3 years and there are other posts about this same issue from 5 years ago.  Looks to me like they have no intention of ever fixing it.  

  • Too bad...

     

    Aren't there many other users having this problem? - I gues not

    How do other people use they own certificates then?? - I gues they don't...

  • I think the point is, while it is a shortcoming of the product, it is just not that hard (in many cases) to concatenate the certs together to create a cert with the full chain and import that into Sophos.  I have seen some have a lot of issues with it, and I have no idea what causes it.  However, using a free certificate (startcom IIRC) I had to do this and it was pretty straightforward at the time.  I've since switched (6 months or so) to Let's Encrypt certs and it is also working fine, no concatenation needed.  So, YMMV.

  • The problem is concatenating them together and using the web interface to import them doesn't work.  In many cases the intermediate cert is already on the client system so it's not a problem.

  • darrellr said:

    ... it is just not that hard (in many cases) to concatenate the certs together to create a cert with the full chain and import that into Sophos. ...

     

    Yeah, so I did this, but it did't work. Although Sonos did import all of the certificates.

    I also had Let's Encrypt, but same there. YMMV indeed.

    Too bad you can only fix this by loggin into the terminal as root and edit some files.

     

    Just for now I use a PC, so the certificate is working. Only on Android (and other mobiles) I have the problem.

    Luckely I also have a free Cloudflare account, so Cloudflares provides a certificate that is working ;-)
    (and since Cloudflare dous recognise the certificate, it is truely safe)

  • Importing did work for me.

    It imported the certificate and all 3 CA certificates.

     

    Unfortunatly the Sonos Webinterface is only handing out one certificate to the clients, accordingly to Sonos staff the problem is in there. Sonos should give the certificate with root chain, but it dousn't. (as you can see if you look at the proposed fix in one of the many threaths)

  • I did not have to do anything special to get LetsEncrypt work.  With the startcom cert, firefox complained about the missing cert, but IE and Chrome filled in the gap in the background just fine.  You do have to be careful with concatenating and I had to use a linux console to get it done properly.  I could not make Windows work, nor could I copy/paste.  But it really wasn't difficult.  Maybe I just got lucky.

  • Okay.

    Copy an paste worked for me.

    Besides that, I just used OpenSSL on Windows, works like a charm.

  • Just wanted to give a quick shout out to  for investigating and posting these full set of instructions.  I followed them, adjusting some things slightly as I did everything from a Windows workstation.  It took me a few tries, and at one point I even locked myself out of a UTM (had to restore from backup), but eventually I got it to work.  I verified that the change even works through a restart.  Excellent work !  It's people like you that make forums work as well as they do.

    One piece of advice...always have a backup of your UTM before making changes!  Luckily I'm studious about this, and was able to restore the UTM I locked myself out of.  Sure I could have always rebuilt it from scratch.  But why?

    -------------------------------

    Interesting [in-ter-uh-sting, -truh-sting, -tuh-res-ting]

    A word typically used by IT technicians to describe an issue they didn't expect, or never encountered, and don't know how to fix.

  • Hi all, I'm still having an issue with that...

     

    It seems to not pull the CA or ICA.

     

    Therefore on some browsers I get a warning but not always...ideas?