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

GoDaddy SSL Certificate for User Portal

I have an SSL certificate from GoDaddy that I am trying to import into the XG 230 firewall. It wants the private key in a .key format which GoDaddy is only giving me a .crt format. The certificate key is in .p7b format which works just fine it appears. 

I am reading articles on how to convert ssl certificates using OpenSSL but I am not seeing a way to convert .crt certificate to .key format. 

Is this even possible? Am I just missing something completely? 

I just want my users outside when they go to vpn.mycompany.com to not get a certificate error. 



Edited tags
[edited by: Erick Jan at 11:18 PM (GMT -7) on 15 Sep 2022]
Parents
  • I've had luck using this with GoDaddy after creating my own private key via OpenSSL.

    The two files in green are supplied by GoDaddy. The file in red is generated by you via OpenSSL. The file in blue is the output for Copernicus along with the matching name without the extension.

    I believe the gd_bundle.crt is given if you choose "Other" when downloading from GoDaddy.

    openssl pkcs12 -export -chain -CAfile gd_bundle.crt -in GoDaddy.crt -inkey privatekey.pem -out copernicus.my.com.pkcs12 -name copernicus.my.com -passout pass:changeit

    I hope this helps. If there is a better way, I'd love to know if you find out.

    Cheers,

    Kyle

  • Alright I think I am close.....hopefully....

    OpenSSL> pkcs12 -export -chain -CAfile gd_bundle-g2-g1.crt -in 2774df19dad2a401.
    crt -inkey privatekey.pem -out vpn.company.com.pkcs12 -name vpn.company.com -passout pass:password

    I can't figure what I need for the "privatekey.pem" part or where I get that file type from?

  • Ah, okay, I understand your disconnect and I should have picked up on it, my mistake.

    You first need to generate your own CSR and Key, which you then sign via GoDaddy's CA.

    1. openssl req -new -newkey rsa:2048 -nodes -keyout vpn.company.com.key -out vpn.company.com.csr
    2. You'll have to enter some information: Country Code, State, City, Org. Name, Org. Unit, Common Name, Email, Password and Company Name
    3. This will generate two files, vpn.company.com.key and vpn.company.com.csr
    4. Sign into GoDaddy and sign the vpn.company.com.csr
    5. Choose Other when you download the CRT files. It should provide you with a your signed GoDaddy.crt and their public gd_bundle.crt.
    6. openssl pkcs12 -export -chain -CAfile gd_bundle.crt -in GoDaddy.crt -inkey vpn.company.com.key -out vpn.company.com.pkcs12 -name vpn.company.com -passout pass:password

    I hope this clears up any confusion. Let me know how you do!

    Cheers,

    Kyle

  • You sir are a genius. I got it uploaded!!!!

    The only thing is when i go to vpn.company.com externally it appears to be using the Sophos appliance cert instead of the cert i just created?

  • Nice! Why thank you :)

    If you navigate to System -> Administration -> Settings, you should see Admin Port Settings followed by Certificate. Your new certificate should now be in that list and it should be selectable.

    *Be warned though that during the beta, there have been issues with Personal Certificates not being properly set. It may have been addressed since then, however, I haven't checked.

    Cheers,

    Kyle

  • Thank you Kyle!!! Got it working! :)

    Just made my day!

  • I'm a new dealer and this is my first install.  I shouldn't have to do this.  Can't import Godaddy certificates?  They're not exactly a small player.  Have I picked the wrong firewall?

     

    FYI:  I had to rename the file "vpn.company.com.pkcs12" to "vpn.company.com.pfx" in order to get Sophos to import it.

     

  • Best solution for all types of SSL certificates, Great !!

Reply Children
No Data