Seamless PKI integration
Seamless PKI integration allows you to configure FortiWeb to verify client certificates and resign a new certificate that is sent to the server for client requests. You can configure a PKI environment in FortiWeb without changing the network or application.
This feature is used for servers that authenticate users' priorities according to each user's client certificate. When seamless PKI integration is configured, FortiWeb attempts to verify client certificates when users make requests. If FortiWeb successfully verifies the client certificate, it uses the client certificate's subject name and extensions to create a client certificate proxy and resign a new certificate that it then uses to connect to the server. If FortiWeb cannot successfully verify the client certificate, the connection will be closed and an attack log will be generated.
Seamless PKI integration is available when FortiWeb is in Reverse Proxy and True Transparent Proxy mode.
For the client certificate proxy process to work, Certificate Verification or Enable Server name Indication (SNI) needs to be configured in a server policy. For details, see Configuring an HTTP server policy. When Client Certificate Proxy is enabled in a server pool rule, if a Client Certificate has also been selected, the Client Certificate will not be used and the Client Certificate Proxy will take effect instead. |
To configure seamless PKI integration in Reverse Proxy Mode
- Go to System > Certificates > Sign CA.
To access this part of the web UI, your administrator account’s access profile must have Read and Write permission to items in the System Configuration category. For details, see Permissions.
-
For Type, select one of the following:
- Click OK.
- Go to Server Objects > Server > Server Pool.
To access this part of the web UI, your administrator account’s access profile must have Read and Write permission to items in the Server Policy Configuration category. For details, see Permissions. - Modify an existing server pool or create a new one.
To modify an existing server pool, select it and click Edit.
To create a new server pool, click Create New. - Enter a Name for the server pool. You will use this name to select the pool in other parts of the configuration. The maximum length is 63 characters.
- Select Reverse Proxy for the Type.
- If you select Server Balance for Single Server/Server Balance, see Configure these settings: for configuration instructions.
- Click OK.
-
Modify an existing server pool rule or create a one new.
To modify an existing server pool rule, select it and click Edit.
Note: You will have to enable SSL if it is not already configured.
To create a new server pool rule, click Create New. - Enable SSL.
- Enable Client Certificate Proxy.
- For Client Certificate Proxy Sign CA, select the Sign CA you uploaded in For Type, select one of the following:.
- When you are finished configuring the rule, click OK.
- Go to Policy > Server Policy.
To access this part of the web UI, your administrator account’s access profile must have Read and Write permission to items in the Server Policy Configuration category. For details, see Permissions. - Modify an existing server policy or create a new one.
To modify an existing server policy, select it and click Edit.
Note: You will have to select a value for the HTTPS Service if it is not already configured.
To create a new server policy, click Create New. - Configure either:
- Enable Strict SNI—Optionally, enable so that FortiWeb will ignore the Certificate when it determines which certificate to present on behalf of server pool members.
- SNI Policy—Select the Server Name Indication (SNI) configuration that determines which certificate FortiWeb presents on behalf of the members of the server pool.
- For Server Pool, select the server pool that you modified or created in Modify an existing server pool rule or create a one new.To modify an existing server pool rule, select it and click Edit.Note: You will have to enable SSL if it is not already configured.To create a new server pool rule, click Create New..
- Click OK.
PKCS12 Certificate |
Upload a Certificate with key file and enter the Password |
Certificate |
Upload a Certificate File, Key File, and enter the Password. |
Certificate Verification |
Select the name of a certificate verifier that FortiWeb will use to validate an HTTP client’s personal certificate. |
Enable Server Name Indication (SNI) |
Enable this option and configure these settings: |
Note: You cannot enable both Certificate Verification and Enable Server Name Indication (SNI).
To configure seamless PKI integration in True Transparent Proxy mode
- Go to System > Certificates > Sign CA.
-
For Type, select either:
- Click OK.
- Go to Server Objects > Server > Server Pool.
To access this part of the web UI, your administrator account’s access profile must have Read and Write permission to items in the Server Policy Configuration category. For details, see Permissions. - Modify an existing server pool or create a new one.
To modify an existing server pool, select it and click Edit.
To create a new server pool, click Create New. - Enter a Name for the server pool. You will use this name to select the pool in other parts of the configuration. The maximum length is 63 characters.
- Select True Transparent Proxy for the Type.
- Click OK.
-
Modify an existing server pool rule or create a one new.
To modify an existing server pool rule, select it and click Edit.
Note: You will have to enable SSL if it is not already configured.
To create a new server pool rule, click Create New. - Enable SSL.
- Click Show advanced SSL settings.
- Enable Client Certificate Proxy.
- For Client Certificate Proxy Sign CA, select the Sign CA you uploaded in For Type, select either:.
- Configure either:
- Enable Strict SNI—Optionally, enable so that FortiWeb will ignore the Certificate when it determines which certificate to present on behalf of server pool members.
- SNI Policy—Select the Server Name Indication (SNI) configuration that determines which certificate FortiWeb presents on behalf of the members of the server pool.
- Go to Policy > Server Policy.
To access this part of the web UI, your administrator account’s access profile must have Read and Write permission to items in the Server Policy Configuration category. For details, see Permissions. - Modify an existing server policy or create a new one.
- For Server Pool, select the server pool that you modified or created in Modify an existing server pool rule or create a one new.To modify an existing server pool rule, select it and click Edit.Note: You will have to enable SSL if it is not already configured.To create a new server pool rule, click Create New..
To modify an existing server policy, select it and click Edit.
To create a new server policy, click Create New. - Click OK.
To access this part of the web UI, your administrator account’s access profile must have Read and Write permission to items in the System Configuration category. For details, see Permissions.
PKCS12 Certificate |
Upload a Certificate with key file and enter the Password |
Certificate |
Upload a Certificate File, Key File, and enter the Password. |
Certificate Verification |
Select the name of a certificate verifier that FortiWeb will use to validate an HTTP client’s personal certificate. |
Enable Server Name Indication (SNI) |
Enable this option and configure these settings: |
Note: You cannot enable both Certificate Verification and Enable Server Name Indication (SNI).