Troubleshooting Tip: The 'Fortinet_Factory' certificate shows 'CN = FortiGate' on FortiGate AWS PAYG instances
| Description | This article describes how to handle a situation where the 'Fortinet_Factory' certificate shows 'CN = FortiGate' under Subject: on FortiGate AWS PAYG (Pay-As-You-Go) instances after deployment. |
| Scope | FortiGate AWS PAYG. |
| Solution |
FGT # get vpn certificate local details | grep Fortinet_Factory -A6
== [ Fortinet_Factory ] Name: Fortinet_Factory Subject: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = FortiGate, CN = FortiGate, emailAddress = support@fortinet.com Issuer: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = Certificate Authority, CN = fortinet-subca2001, emailAddress = support@fortinet.com Valid from: 2023-08-28 04:05:33 GMT Valid to: 2056-05-26 20:48:33 GMT Fingerprint: 6D:A3:44:D1:93:49:09:5F:4E:3B:58:E8:01:7E:7C:6D:E1:66:22:F2:75:B5:6E:97:F5:72:3B:A7:AF:32:9A:18 Serial Num: 11:55:11:55 == [ Fortinet_Factory_Backup ] Name: Fortinet_Factory_Backup Subject: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = FortiGate, CN = FortiGate, emailAddress = support@fortinet.com Issuer: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = Certificate Authority, CN = support, emailAddress = support@fortinet.com Valid from: 2023-08-28 04:05:33 GMT Valid to: 2038-01-18 22:34:39 GMT Fingerprint: 81:88:A5:28:E6:D5:D0:B1:3D:9C:57:DF:79:A8:56:E6:E6:99:C6:AE:97:77:24:C7:1C:FD:C9:8B:CE:5F:4B:AB Serial Num: 11:55:11:55
FGT #
To fix:
FGT # get system status | grep Serial-Number Serial-Number: FGTAWS1234567890
FGT # execute vm-license <FortiGate Serial number>
For example:
FGT # execute vm-license FGTAWS1234567890 Do you want to continue? (y/n)y
FortiGate will reboot.
FGT # get vpn certificate local details | grep Fortinet_Factory -A6 == [ Fortinet_Factory ] Name: Fortinet_Factory Subject: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = FortiGate, CN = FGTAWS1234567890, emailAddress = support@fortinet.com Issuer: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = Certificate Authority, CN = fortinet-subca2001, emailAddress = support@fortinet.com Valid from: 2023-08-28 04:05:33 GMT Valid to: 2056-05-26 20:48:33 GMT Fingerprint: 6D:A3:44:D1:93:49:09:5F:4E:3B:58:E8:01:7E:7C:6D:E1:66:22:F2:75:B5:6E:97:F5:72:3B:A7:AF:32:9A:18 Serial Num: 02:4d:07:3c == [ Fortinet_Factory_Backup ] Name: Fortinet_Factory_Backup Subject: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = FortiGate, CN = FGTAWS1234567890, emailAddress = support@fortinet.com Issuer: C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = Certificate Authority, CN = support, emailAddress = support@fortinet.com Valid from: 2023-08-28 04:05:33 GMT Valid to: 2038-01-18 22:34:39 GMT Fingerprint: 81:88:A5:28:E6:D5:D0:B1:3D:9C:57:DF:79:A8:56:E6:E6:99:C6:AE:97:77:24:C7:1C:FD:C9:8B:CE:5F:4B:AB Serial Num: 02:4d:07:3e
FGT #
|

