[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1213
  • Last Modified:

OpenSSL | PKI | Watchguard

I need to generate a private key using OpenSSL for my watchguard firebox, but what i don't understand is how does the box know what the private key is?  its being genereted by an external program (openSSL).

Can someone explain to me how you tell the device what the private key is?

my SSL 100 box wants a server certificate and a client certificate.  The older version of the box used to genereate the CSR for you and it was much more straight forward.

any help would be appreciated.
0
beaconlightboy
Asked:
beaconlightboy
  • 3
1 Solution
 
ParanormasticCryptographic EngineerCommented:
For the SSL 100 using version 3.1 (which appears to be the current version) here are the instructions:
http://www.watchguard.com/help/docs/ssl/3/en-US/v3_1_WG_SSL_WebUI_UserGuide.pdf

See printed page 300, Adobe page 312 - it seems to walk you through the whole process.  Let me know what step you are getting hung up on if you are having issues with what they are presenting.
0
 
ParanormasticCryptographic EngineerCommented:
The server cert is for hosting the SSL session.  If you need to connect to another box where client certificate authentication is being used for some purpose then you would create a client cert as directed.
0
 
beaconlightboyAuthor Commented:
well, i read this, it is identical to the help file.  Where i'm getting lost is how the box knows what the private key is.  if you generate a private key, then submit it, you don't get the private key back in the request.  So when you add the public key to the box, how does it know what it's private key is?
0
 
ParanormasticCryptographic EngineerCommented:
The private key is generated as the first step in the OpenSSL procedure, just before creating the CSR file:
openssl genrsa -out wgnet.key 1024

wgnet.key is the private key (you can call this whatever you want)

Then you create the CSR and get your cert issued from the CA.

Sounds like you need to convert the private key to PKCS #8 format - this is not very commonly done but there are a few products that require it:
openssl pkcs8 -topk8 -in wgnet.key -out wgnet.pk8

Then you import the CA certs one at a time, from the root down, then you go to a screen where you import the issued cert and the PKCS #8 formatted private key in the same step - see printed page 304 / adobe page 316 for a screenshot under #3.

Hopefully this answers your question...
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now