You can use SonicOS API as an alternative to the SonicOS Command Line Interface (CLI) for configuring selected functions. To do so, you must first enable SonicOS API. .
In SonicOS 8.2.3 and later versions, when FIPS 140-3 mode is enabled, only the SHA-256, SHA-384, and SHA-512 signature algorithms are supported. MD5 and SHA-1 are disabled. RSA key sizes must be 2048 bits or higher; the 1024-bit and 1536-bit options are not available in FIPS mode. For ECDSA certificates, only NIST-approved curves (P-256, P-384, and P-521) are supported.
To enable SonicOS API and configure client authentication
| Settings | Description |
|---|---|
| RFC-7616 HTTP Digest Access authentication | Enables RFC 7616 digest access authentication for API requests. |
| Digest algorithms |
Select the cryptographic hash algorithms supported for digest authentication:
|
| Integrity protection |
Controls whether message integrity protection (quality of protection, qop) is used:
|
| Use session variant (password hashes in place of passwords) |
Configure the use of session-based keying:
|
| Settings | Description |
|---|---|
| CHAP authentication | Enables Challenge Handshake Authentication Protocol (CHAP) for API access. |
| RFC-2617 HTTP Basic Access authentication |
Enables legacy RFC 2617 HTTP Basic authentication. Basic authentication sends credentials as Base64-encoded text. Use Basic authentication only over HTTPS. Base64 is an encoding, not encryption. |
| Settings | Description |
|---|---|
| Public Key authentication | Enables public key authentication for the SonicOS API. |
| RSA modulus (key/cipher size in bits) | Specify the RSA key size in bits. The default value is 1024 bits in non-FIPS mode. In FIPS 140-3 mode, 1024-bit and 1536-bit options are not permitted; the minimum key size is 2048 bits. |
| RSA padding type |
Select the RSA padding scheme:
|
| OAEP hash method |
Select the hashing algorithm used by OAEP:
This field is available only when the RSA padding type is set to OAEP. |
| OAEP mask (MGF1) method |
Select the Mask Generation Function (MGF1) hash algorithm:
This field is available only when the RSA padding type is set to OAEP. |
| Settings | Description |
|---|---|
| Session security using RFC-7616 Digest authentication | Enforces session security validation using RFC-7616 Digest parameters across active API sessions. |
| Maximum nonce use |
Specify the maximum number of times a server nonce can be reused before renegotiation is required. A nonce (number used once) is a unique, randomly generated cryptographic token issued by the firewall during RFC-7616 HTTP Digest Access Authentication to protect against replay attacks. Allowing limited reuse reduces session overhead for consecutive API requests.
|
| Non-GUI Management Login Bearer Token Session Check |
|