<!-- File: $RCSfile: certificate,v $ -->
<!-- Rev: $Revision$ -->

<body class="help">
<a name="top"></a>


<p>
<h2 class="help">
<a name="Web Interface HTTPS/SSL Configuration"><b>Web Interface HTTPS/SSL Configuration</b></a></h2>
How the web interface to the <TMPL_VAR PRODUCT> is to be accessed by your users.
<ul>
<TMPL_UNLESS IS_BFW>
  <li><b>HTTPS/SSL Access Only</b> - Whether or not users are
    required to use HTTPS to access the web interface.
When this is enabled, all non-SSL connection requests coming through the
web interface HTTP Port (as designated on the
<b>BASIC > Administration</b> page) will be automatically re-directed to
the <b>Web Interface HTTPS/SSL Port</b> designated below. 
<TMPL_UNLESS>
<TMPL_IF IS_MA>
This setting does <b>not</b> affect how the <TMPL_VAR PRODUCT> is
accessed via attachment stubs or the Microsoft Outlook Add-In.  <br>
<h5 class="helpadmon">NOTE:</h5>If this option is set to <b>Yes</b>,
then on the <b>BASIC > IP Configuration</b> page in the <b>External Domain
Configuration</b> section, the <b>External Link Protocol</b>
should be set to <i><b>HTTPS</b></i> as well.
</TMPL_IF>
<TMPL_IF EXPR="IS_BSVF || IS_MA">
  <li><b>Use HTTPS Links in Emails</b> - Whether or not notices
  and emails from the <TMPL_VAR PRODUCT> uses HTTP or HTTPS links.</li>
</TMPL_IF>
<TMPL_IF IS_BSVF>
  <li><b>Allow SSLv2 for HTTPS Connections</b> - Set to <i>No</i> if you do not want to allow SSLv2 connections. <h5 class="helpadmon">Note:</h5>This setting is not synchronized to other systems in a cluster. 
</TMPL_IF>
  <li><b>Web Interface HTTPS/SSL Port</b> - The port used for 
    HTTPS traffic.</li>
<TMPL_IF IS_BFW>
	<li><b>Session Expiration Length</b> &mdash; Length of time until a user is automatically logged out. Min: 5min Default: 20min </li>
</TMPL_IF
</ul>


<h2 class="help">
<a name="SSL Certificate Configuration">SSL Certificate Configuration</a></h2>
Configure the type of SSL certificate you wish to use for the web interface
to the <TMPL_VAR PRODUCT>.
The <b>Certificate Type</b> for the web interface can be either
<b><i>Private</i></b> or <b><i>Trusted</i></b>.
<ul>
  <li><b><a href="#Certificate Generation">Private</a> (Self-signed)</b> -
A certificate created locally for your specific organization, by your
organization.  This type of certificate provides strong encryption
without the cost of purchasing one from a trusted Certificate Authority
(CA). However, web browsers are unable to verify the authenticity
of the certificate, so warnings about the unverified state may be displayed.
To avoid this warning, download the <a href="#prc"><i>Private Root Certificate</i></a> into each
browser that accesses this <TMPL_VAR PRODUCT>.
More information on <a href="#Certificate Generation">certificate
generation</a> can be found below.
  <li><b><a href="#Trusted Certificate">Trusted</a> (Signed by a trusted CA)</b> -
A certificate signed by and purchased from a trusted CA. Web browsers
are able to recognize and verify these certificates as coming from a
trusted source, so in most circumstances there is no need for a Private
Root Certificate to be downloaded for every web browser.
The following types of Trusted Certificates are supported:
    <ul>
      <li><a href="#Purchased">Obtained from a Third-Party CA</a>
      <li><a href="#Microsoft">Microsoft Certificate Services</a>
      <li><a href="#Wildcard">Wildcard Certificates</a>
    </ul>
</ul>
<p>
The <b>Default</b> certificate provided on the <TMPL_VAR PRODUCT> is signed
by Barracuda Networks. On some browsers, using these may generate benign
warnings which can be safely ignored. 

<h2 class="help"><a name="Certificate Generation">Certificate Generation</a></h2>
To create your own <b>Private (self-signed)</b> certificate for strong SSL
encryption:
<ol>
  <li>Change the <b>Certificate Type</b> in the above section to be <i>Private
(Self-signed)</i>.
  <li>Fill in the information for your organization as requested.
The following <b>Organization Info</b> is stored in the
certificate and is visible to all visitors to the web interface:
  <ul>
    <li><b>Common Name</b> - The fully qualified domain name that is used to access the <TMPL_VAR PRODUCT>.  For example:  <i>barracuda.yourdomain.com</i>
    <li><b>Country Code (2 characters)</b> - The two-letter country code of the location of the organization.
    <li><b>State or Province</b> - The full name of the state or province where your organization is located.
    <li><b>Locality (City)</b> - The city or region where your organization is located.
    <li><b>Organization (Company) Name</b> - The legal name of your company or organization.
    <li><b>Organizational (Departmental) Unit</b> - (Optional) Name of your specific department or section with the organization.
    <li><b>Key Size</b> - The length of the key for the generated Certificate, specified in bits.  The larger the number, the stronger the encryption.
  </ul>
  <li>Select the desired <b>Key Size</b>, or strength, of the certificate.
The larger the number, the stronger the encryption algorithm, which results
in a more secure certificate.
  <li>In the <b>Expires In</b> field, enter the number of days after 
creation that this certificate will be good for.  The recommended period
is 365 days.
  <li>Click <b>Save Changes</b> to create the certificate.
</ol>

<p>
The following items are available for <b>download</b> once your Private
Certificate has been created:

<ul>
  <li><b>Private Key</b> - Used when uploading a generated certificate.
A copy of the Private Key should be stored with the certificate so that
they can be uploaded together onto a backup system if necessary.
<a name="prc">
  <li><b>Private Root Certificate</b></a> - Used to prevent warnings
related to the Private certificate.  Applicable only when the <i>Private</i>
certificate option is selected.
In order to authenticate the Private
certificate, the downloaded Private Root Certificate must be imported
into the web browser used to access the <TMPL_VAR PRODUCT>'s web interface. 
Once the certificate is installed, the web browser will be able to treat
the <TMPL_VAR PRODUCT> as a source, or CA, of trusted certificates.
</ul>

<a name="Trusted Certificate"></a>
<p align=right>
<a href="#top"><i>Return to Top</i></a></p>
<p>
<h2 class="help">
Trusted Certificate</h2>
For uploading Trusted Certificates onto the <TMPL_VAR PRODUCT>.
The <TMPL_VAR PRODUCT> supports the following types of Trusted Certificates:
<ul>
  <li><a href="#Purchased">Obtained from a Third-Party CA</a>
  <li><a href="#Microsoft">Microsoft Certificate Services</a>
  <li><a href="#Wildcard">Wildcard Certificates</a>
</ul>

Only some of the listed fields will be applicable for your certificate,
depending on the type of Trusted Certificate being installed:
<ul>
  <li><b>Upload Trusted Certificate</b> - Path to the signed X.509 certificate obtained from your CA.  The certificate can be in either <i>.pem</i> format (just the certificate) or in <i>.pfx</i> format (containing Private Keys in addition to the certificate).
  <li><b>Certificate Password</b> - The password associated with the <i>Private Key</i>, or for the .pfx certificate entered above.
  <li><b>Private Key</b> - Path to the Private Key associated with the Trusted Certificate submitted above.  Required only if the certificate entered above is in .pem format.
  <li><b>Certificate Chain Bundle</b> - Path to an intermediary certificate in .pem format.  Used to upload any certificates that are in the trust chain as required by the signed certificate.  Bundles usually contain both the Root certificate provided by the CA as well as any intermediate certificates that are required, although they can also contain just the Root certificate.
</ul>
Click the <b>Upload Certificate Information</b> button to initiate the upload of
the entered certificate and key/password combination onto the <TMPL_VAR PRODUCT>.
<p>
The following items are available for <b>download</b> once a Trusted
Certificate has been created:

<ul>
  <li><b>Certificate Signing Request (CSR)</b> -
      <i>Required</i> if <a href="#Purchased">purchasing a signed
certificate</a> from a trusted Certificate Authority (CA).  The
downloaded CSR must be submitted to the CA.
The certificate is generated with a 1024-bit key length.
  <li><b>Private Key</b> - Used when uploading a generated certificate.
A copy of the Private Key should be stored with the certificate so that
they can be uploaded together onto a backup system if necessary.
<a name="prc">
  <li><b>Private Root Certificate</b></a> - Used to prevent warnings
related to the Private certificate.  Applicable only when the <i>Private</i>
certificate option is selected.
In order to authenticate the Private
certificate, the downloaded Private Root Certificate must be imported
into the web browser used to access the <TMPL_VAR PRODUCT>'s web interface. 
Once the certificate is installed, the web browser will be able to treat
the <TMPL_VAR PRODUCT> as a source, or CA, of trusted certificates.
</ul>


<h3 class="helpedu"><a name="Purchased">Obtained from a Third-Party CA</a></h3>
Trusted certificates are issued by designated providers, or Certificate
Authorities, who must adhere to local laws on encryption methods.  Please
consult your domain registrar or a local directory to locate a CA that is
certified for your area.

<h4 class="help">To create and install a CA-generated certificate:</h4>
If you already have a CA-generated certificate, skip to Step 6 for directions on installing it onto the <TMPL_VAR PRODUCT>.
<ol>
  <li>Set <b>Certificate Type</b> to <i>Trusted (Signed by a trusted CA)</i>.
  <li>From the <i>Trusted (Signed by a trusted CA)</i> section:
    <ul>
      <li>Click <b>Edit Data</b> to bring up the <b>CSR Generation</b> popup,
and supply the requested Organizational Info and Key Size.
      <li>Click the popup's <b>Save Changes</b> button to generate the CSR and close the popup.
      <li>Click <b>Download</b> to save a copy of the Certificate Signing Request onto your local computer.
    </ul>
  <li>Submit the CSR to your chosen Certificate Authority.  Ask for an
<b>X.509</b> (Apache) certificate in .pem format.
  <li>Wait to receive the certificate.  It can take anywhere from a few hours to a week or more, depending on the amount of security requested forequested for the certificate. 
  <li>When you have the SSL certificate, upload it to the <TMPL_VAR PRODUCT>:
    <ul>
      <li>Make sure that <b>Certificate Type</b> at the top of the page is set to <i>Trusted (Signed by a trusted CA)</i>.
      <li>In the <b>Upload Trusted Certificate</b> field, enter (or browse to) the location where the trusted SSL Certificate is saved.
      <li>If you have a <b><i>PKCS12</i></b> certificate:
<ul>
<li>Enter the <b>Certificate Password</b> associated with the certificate.
</ul>
      <li>If you have an <b><i>X.509 (PEM)</i></b> certificate, supply the following:
<ul>
<li><b>Private Key</b> - Enter (or browse to) the location where the Private Key is saved.
<li><b>Certificate Chain Bundle</b> - Enter (or browse to) the location where your intermediary certificates are stored.  <i>Applicable <b>only</b> if you have <b>intermediary</b> certificates, or additional certificate bundles that are required by your signed certificate.</i>
</ul>
      <li>Click the <b>Upload Certificate Information</b> button to upload all entered items to the <TMPL_VAR PRODUCT>.
      <li>Click <b>Save Changes</b>.
    </ul>
</ol>

<h3 class="helpedu"><a name="Microsoft">Microsoft Certificate Services</a></h3>
Microsoft Certificate Services enables some Microsoft servers to act as
a Certificate Authority.  For more complete information regarding Microsoft Certificate Services, please visit <a target=_blank href="http://technet.microsoft.com/en-us/library/cc776207(WS.10).aspx">Microsoft TechNet</a>.
<h4 class="help">To create and install a certificate using Certificate Services:</h4>
If you already have a certificate generated from Certificate Services, skip to Step 4 below for directions on installing it onto the <TMPL_VAR PRODUCT>.
<ol>
  <li>Set <b>Certificate Type</b> to <i>Trusted (Signed by a trusted CA)</i>.
  <li>From the <i>Trusted (Signed by a trusted CA)</i> section:
    <ul>
      <li>Click <b>Edit Data</b> to bring up the <b>CSR Generation</b> popup,
and supply the requested Organizational Info and Key Size.
      <li>Click the popup's <b>Save Changes</b> button to generate the CSR and close the popup.
      <li>Click <b>Download</b> to save a copy of the Certificate Signing Request onto your local computer.
    </ul>
  <li>Log into Microsoft Certificate Services to generate and download a certificate:
    <ul>
      <li>From a web browser, navigate to the Certificate Services URL.  This will typically be something like:<i>&nbsp;&nbsp;&nbsp;&nbsp; http://dc.example.com/CertSrv</i>
      <li>Select <b>Request a certificate</b>, then advance.
      <li>Select <b>Submit an advanced certificate request</b>, then advance.
      <li>Select <b>Submit a certificate request...</b>, then advance.
      <li>Create the request as follows: 
        <ul>
          <li>In the <b>Saved Request</b> field, paste in the contents of the CSR that was generated from the <TMPL_VAR PRODUCT>.  You can safely open the CSR in notepad, select everything, then paste it into the field.
          <li>Select <i>Web Server</i> from the <b>Certificate Template</b> drop-down menu.
          <li>Click <b>Submit</b>.
        </ul>
      <li>In the next window, select the <i>Base 64 encoded</i> option.
      <li>Click <b>Download CA Certificate</b> and save it to your local computer.
    </ul>
<i><b>Note:</b> For more complete information regarding Microsoft Certificate Services, please visit <a target=_blank href="http://technet.microsoft.com/en-us/library/cc776207(WS.10).aspx">Microsoft TechNet</a>.</i>
  <li>Upload the saved certificate onto the <TMPL_VAR PRODUCT>:
    <ul>
      <li>Set <b>Certificate Type</b> at the top of the page to <i>Trusted (Signed by a trusted CA)</i>.
      <li>In the <b>Upload Trusted Certificate</b> field, enter (or browse to) the location where the certificate is saved.
      <li>Click the <b>Upload Certificate Information</b> button to initiate the upload to the <TMPL_VAR PRODUCT>.
      <li>Click <b>Save Changes</b>.
    </ul>
</ol>

<h3 class="helpedu"><a name="Wildcard">Wildcard Certificates</a></h3>
Wildcard certificates are domain-level certificates (as opposed to the
normal host-level certificates). Wildcard certificates can be installed
across a number of systems within a single domain. If you are using a
wildcard certificate, an IIS server would be one of the more likely
places on your network where it would already be installed.
<h4 class="help">To install a Wildcard Certificate:</h4>
<ol>
  <li>Make sure that the certificate and Private Key are in a .pfx file (PKCS12 format).
  If necessary, OpenSSL can be used to export the certificate and key into the proper format.
  <li>Upload the .pfx certificate onto the <TMPL_VAR PRODUCT>:
    <ul>
      <li>Set <b>Certificate Type</b> at the top of the page to <i>Trusted (Signed by a trusted CA)</i>.
      <li>In the <b>Upload Trusted Certificate</b> field, enter (or browse to) the location where the certificate is saved.
      <li>In the <b>Certificate Password</b> field, enter the password associated with the certificate.
      <li>Click the <b>Upload Certificate Information</b> button to initiate the upload to the <TMPL_VAR PRODUCT>.
      <li>Click <b>Save Changes</b>.
    </ul>
</ol>

<p align=right>
<a href="#top"><i>Return to Top</i></a></p>

</body>

