Created on
04-01-2021
12:04 AM
Edited on
08-11-2025
02:10 AM
By
Anthony_E
Description
This article describes how to change the CA certificate used on a 'read-only' certificate inspection profile.
While changing the default 'Fortigate_CA_SSL' on the read-only certificate inspection profile, it ends up in error:
Cannot modify the read-only factory default profiles!
object set operator error, -657 discard the setting.
Scope
FortiGate.
Solution
It is recommended to clone or create a new SSL SSH profile rather than editing a read-only profile.
This is only recommended if there was a CA used in this profile in the past and has expired.
config vpn certificate local
get <-- it displays only the names of all certificates
Or:
show
Create a CLI script: Go to Security Fabric -> Automation > Trigger and select 'Create New'.
config firewall ssl-ssh-profile
edit certificate-inspection
set caname <input the CA willing to be used> <----- For example Fortinet_CA_SSL.
end
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.