Certificate settings
Certificates are contained in the <certificates></certificates>
XML tags. Following are the subsections:
- CRL
- HDD
- CA certificate
Uses Online Certificate Status Protocol (OCSP).
Base 64 encoded CA certificate.
<forticlient_configuration>
<system>
<certificates>
<crl>
<ocsp />
</crl>
<hdd />
<ca />
<common_name>
<match_type>
<![CDATA[simple]]>
</match_type>
<pattern>
<![CDATA[w8.fct.net]]>
</pattern>
</common_name>
<issuer>
<match_type>
<![CDATA[simple]]>
</match_type>
<pattern>
<![CDATA[Subordinate CA]]>
</pattern>
</issuer>
</certificates>
</system>
</forticlient_configuration>
The following table provides the XML tags for certificate settings, as well as the descriptions and default values where applicable.
XML Tag |
Description |
Default Value |
---|---|---|
|
||
<enabled> |
Use Online Certificate Status Protocol (OCSP). Boolean value: |
|
<server> |
|
|
<port> |
Enter the server port number. |
|
|
||
<match_type> |
Enter the type of matching to use, for example,
|
|
<pattern> |
Enter the pattern to use for the type of matching, for example, |
|
|
||
<match_type> |
Enter the type of matching to use, for example,
|
|
<pattern> |
Enter the pattern to use for the type of matching, for example, |
Following is an example of exact match for <common_name>
:
<certificate>
<common_name>
<match_type>
<![CDATA[simple]]>
</match_type>
<pattern>
<![CDATA[w8.fct.net]]>
</pattern>
</common_name>
Following is an example of wildcard for <common_name>
:
<certificate>
<common_name>
<match_type>
<![CDATA[wildcard]]>
</match_type>
<pattern>
<![CDATA[*.fct.net]]>
</pattern>
</common_name>
Following is an example of regular expression for <common_name>
:
<certificate>
<match_type>
<![CDATA[regex]]>
</match_type>
<pattern>
<![CDATA[.*]]>
</pattern>
</common_name>