- How do I replace my default Certificate Authority?
- How do I import and trust the certificate authority in my browser?
This guide discusses the process for implementing a non default certificate authority into your environment. This certificate authority is used by the SSL Scanner on the MWG to generate the certificates used by the SSL Scanning feature. The process of deploying a certificate authority in Web Gateway consists of two basic steps (1) generating the authority and (2) then establishing a trust between clients and the certificate authority. More information on Certificate Authorities themselves and their function can be found here(https://community.mcafee.com/docs/DOC-4822)
NOTE: You MUST use a non-default Certificate Authority in production. The CA in place by default is the same one used on all MWGs. It is a major security risk to use the default CA!
How do I replace my default Certificate Authority?
There are many methods for getting a certificate authority, here are the recommended methods:
- Generating one on the MWG through the GUI. (Simplest, instructions below)
- Generating one via Microsoft CA, follow the instructions at this link: https://kc.mcafee.com/corporate/index?page=content&id=KB75037
Generating Via the McAfee Web Gateway
This example shows how to generate a Certificate Authority via the McAfee Web Gateway.
Follow along with the screenshots below the instructions
- Select "Policy"
- Select the "Settings" tab near the top left.
- Expand Engines>SSL Client Context With CA
- Select "Default CA"
- Select "Generate" and fill in the relevant fields then click OK.
- Select "Export" and save with a .cer extension.
How do I import and trust the certificate authority in my browser?
Internet Explorer/Chrome Automated Enterprise-Wide Import via GPO
You can use Active Directory Group Policy Objects (GPO) to import certificates into your Internet Explorer certificate store. These instructions are for Server 2008.
Use the below KB from Microsoft to assist in navigating to the GPO in your domain:
Note: Any application which does not use the Internet Explorer certificate store must have the certificate imported manually per user and client. GPO Imports only apply for applications using the IE certificate store.
Once you have the GPO open that you wish to edit, continue to follow the instructions below:
- Navigate to Computer Configuration, Windows Settings, Security Settings, and Public Key Policies.
- Right-click Trusted Root Certificate Authorities and select Import.
- Complete the wizard to import the previously exported public Certificate Authority certificate.
- Exit the Group Policy Object Editor.
- Navigate to Start > Run > cmd.
- Type gpupdate /force at the command prompt. This refreshes the GPO.
- Log out and log back into the domain.
- Navigate to Start > MMC > Certificates.
- Expand the Trusted Root Certificate Authorities store. You should see the certificate.
Internet Explorer/Chrome Manual Import
If unable to use GPO, follow instructions below for manually importing certificates into the Internet Explorer certificate store :
Note: This process must be done per user and client. This also only works for applications which are using the Certificate Store.
- Open the "run" dialog window on whichever version of Windows you are using.
- Type "certmgr.msc" and click "OK"
- Right click "Trusted Root Certification Authorities" and hover over "All Tasks".
- Select "Import"
- On the Certificate Import Wizard welcome page, click Next.
- Click Browse and navigate to where you stored the WebProtectionCertificate.cer file.
- Click Next.
- Select Automatically select the certificate store based on the type of certificate.
- Click Next.
- Click Finish . A successful import message appears.
- Message indicating successful import should appear.
- Close all open windows.
Alternative Method for Internet Explorer
You could also import the Certificate Authority manually by following these steps in Internet Explorer. Go to: Tools > Internet Options > Content > Certificates - Click on the 'Trusted Root Certification Authorities' tab and press the Import button.
Firefox Manual Import
Since Firefox doesn't use the IE certificate store each user must manually import the MWG CA's public certificate into the FF certificate store. This limitation is by design of the Firefox browser and not specific to MWG. You can use a Firefox web browser to manually import a certificate.
Note: This process must be done for each user and client. This also only works for Firefox.
- From the Tools menu, select Options.
- Click "Advanced".
- Click "Encryption".
- Click "View Certificates".
- Click "Import".
- Navigate to where you stored the WebProtectionCertificate.cer file.
- Select "Trust this CA to identify websites".
- Click "OK" and close all open windows.
Importing/Exporting a Certificate Authority on Mac OS 10.7
Follow the link below for documentation on how to Import/Export on Mac OS 10.7
By now you should understand what Certificate Authorities are used for and the process for importing them into your environment to work with the SSL Scanner.