User Tools

Site Tools


Generating and Applying a Certificate for Your Sophos

When using the Sophos on your computer you are likely to receive a warning “This website is unsafe” or “Your connection is not private”. These problems occur due to the certificates not being trusted on your web browser or computer. The certificates are used to protect server-client communication. The Sophos firewalls (XG210 and XG125) come with a Default and a SSL CA certificate. The SSL CA certificate is used ONLY when using the HTTPS Deep Scan Inspection feature. In general, this feature is NOT recommended for use on the ships.

Generation of the Certificate

1) Go to CertificatesCertificates and Click Add, then select Generate Self-signed Certificates

2) Create a name for your certificate

3)Select IP address in the Certificate ID option and enter the IP address value

  • You will want the admin and user login to be on the same IP address for this to work
  • To change the user redirect IP go to AdministrationAdmin SettingsAdmin Console & End User interaction; click Use a different hostname and enter the new IP address

4) Fill in the values in the Identification Attributes such as Country name, state, locality name, organization name, organization unit name (department), email address

5) In Common Name add the IP address of the firewall on which the webadmin and captive portals will be opened (default example

6) Once successfully generated, go to AdministrationAdmin Settings and set the certificate to the newly generated certificate

7) Now download this generated self-signed certificate and import to the machines browsers. Also download Default from CertificatesCertificate Authorities

Adding Your New (Or NOT new) Certificate to Your Local Machine

Windows 10 computer

1) Take the generated self-signed certificate that was downloaded (step 7 above) and unzip the tar file

2) Double click on the “named cert” (type file is Personal Information Exchange)

3) Click through the installation wizard pop-up

  • The wizard may prompt you for a password
  • Password file is in the tar file that you unzipped (it might just be blank, that is okay)

4) When prompted for the certificate store, choose Place all certificates in the following store

5) Select the Trusted Root Certification Authorities store

6) Next, add certificate snap-ins → launch MMC (mmc.exe)

  • Choose fileAdd/Remove Snap-ins
  • Choose certificates, then choose Add
  • Choose computer (local) account and click next
  • Click Finish and close the list of snap-ins
  • Click OK to add the certificates snap-in, which should now be visible in the Add/Remove snap-ins window
  • Expand the list of certificate containers, right click Trusted Root Authority and choose All TasksImport to start the Certificate Import Wizard
  • Import the Certificate downloaded (Default) using this wizard

Macintosh computer

1) If you haven't already, download the Default certificate (step 7, Generation of the Certificate)

2) Once downloaded, double-click the Certificate. This launches key-chain. A pop-up window will open; select System and Add

4) Go to SystemCertificates → Double-click on Default

5) Click Trust and then click Always Trust

What if I cannot Generate my own certificate?

A reported issue that we have seen is the inability to “Generate a Self-signed Certificate”, the option is 'grayed' out. This is caused when the Sophos system is migrated from a Cyberoam install and the default is setup incorrectly. To fix this issue, follow these steps:

1)Go to CertificatesCertificate AuthoritiesDefault

2)The Default must have a Common name in this format Sophos_CA_[serial] and an email.

Once saved check back under Certificates to Generate your own self-signed certificate.

If you want more information on how to import certificates to specific web browsers go here:

Note:This page specifically talks about using the Security_SSL_CA_Certificate, simply change it to Default and the directions are the same.

If you want more information on Generating a self-signed certificate or requesting a certificate from a Certified Authority go here:

public/generating_a_certificate.txt · Last modified: 2024/01/25 03:31 by

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki