Gen 7: How can I create a DPI-SSL certificate for the purpose of DPI-SSL certificate resigning?

Description

SonicWall DPI-SSL is a proxy for SSL connections, acting as an intermediary to provide secure connections between the client PC and the secure website. The SonicWall DPI-SSL accepts the certificate offered by the secure website and re-signs the certificate before sending it to the client's browser. The SonicWall DPI-SSL services acts as a client when it accepts the secure websites' certificate and then acts as a Certificate Authority (CA) when it resigns the website's certificate before sending it to the PC. To establish trust between the client PC and SonicWall DPI-SSL, the SonicWall DPI-SSL CA certificate must be installed in the client's Trusted Root Certification Authorities store.

Resolution

The SonicWall has two types of certificates

  • Certificate for HTTPS management
    • The self-signed certificate for HTTPS management is also called the device certificate.
    • The self-signed device certificate can be replaced with a signed device certificate.
    • The HTTPS management certificate is unrelated to the DPI-SSL CA certificate
  • DPI-SSL certificate
    • The DPI-SSL CA certificate is used for establishing trust between a client PC and SonicWall DPI-SSL.
    • The default SonicWall DPI-SSL CA certificate is used for certificate re-signing.
    • In some cases, the customer may decide to replace the default DPI-SSL CA certificate.
  • If you decide to replace the default SonicWall DPI-SSL CA certificate, make sure that the replacement CA certificate must have Certificate Signing or Certificate Re-signing authority.


Here is the Default SonicWall DPI-SSL CA certificate with Key Usage for Certificate Signing

Image


What are my options if I choose to replace the Default SonicWall DPI-SSL CA certificate?

  • You cannot request a DPI-SSL CA certificate from a commercial certificate authority.
    • Commercial certificate authorities will not issue certificates with Certificate Signing or Certificate Re-signing authority.

  • You can create certificates from a private Certificate Authority Server.
    • The customer chooses to implement their own Certificate Authority servers such as a Microsoft Certificate Authority Server or an OpenSSL CA server.
    • The customer may also choose to replace the SonicWall self-signed HTTPS management certificate with a certificate issued by their own Certificate Authority server.
    • The customer may also choose to replace the default SonicWall DPI-SSL CA certificate, the replacement CA certificate must have Certificate Signing or Certificate Re-signing authority.


Generating a Certificate Enrollment Request (CER)   

  1. Navigate to Device | Settings | Certificates and click  New signing Request.

Image

    2. Complete the  Generate Certificate Signing Request form and select Generate.

 NOTE: A minimum of SHA256 and 2048 bits is required. 

          Image


Export the pending Certificate Enrollment Request (CER)

  1. Navigate to Device | Settings | Certificates and select your certificate pending request Export button.
  2. Click  Export in your Export Certificate Request Popup.

          Image

        3. Open the export file with notepad for temporary storage


Go to Microsoft CA Server and request a certificate

  1. Request a certificate.
  2. Submit an advanced certificate request.

Image

    3. Click  advanced certificate request.

Image


Request a certificate that has re-signing capability and here we are using the "Subordinate Certification Authority" template as an example

  1. Paste Certificate Enrollment Request text (from your WordPad file) into the  Saved Request box.
  2. In the Certificate Template drop-down menu, select the Subordinate Certification Authority template.
  3. A Subordinate CA template has certificate re-signing capability.
  4. Do Not use the Web Server template (This template cannot do re-signing).
  5. Click Submit.

Image


Download from the Microsoft CA Server and root CA certificate save to a local file

  1. Select the option Download certificate chain.
  2. Save the certificate (the file default name is certnew.p7b, rename if needed).

Image

      3. Download and save the CA root certificate.

Image


Complete the certificate enrollment on SonicWall by uploading the newly issued certificate

  1. Navigate to Device | Settings | Certificates and select your certificate pending request Upload button.
  2. Browse to the new certificate file.
  3. Select file.
  4. Upload file.

Image


Import the DPI-SSL CA root certificate to SonicWall

  1. Navigate to Device | Settings | Certificates and select Import.
  2. Browse to CA certificate file.
  3. Select file.
  4. Upload file.

Image


     5. Check if the certificate is Validated by the firewall 

Image


View the imported certificate under 'Policy | DPI-SSL | Client SSL'

  • The newly installed CA certificate is available for DPI-SSL services.

Image

Related Articles

  • SonicOS 8.1.0 FAQ
    Read More
  • SonicWall GEN8 TZs and GEN8 NSas Settings Migration
    Read More
  • Getting started with SonicWall firewalls
    Read More
not finding your answers?