export and import a certificate with no private key
Hello guys,
i need to export a certificate from one fortigate to the fortigate's lab environment but all the guidelines talk about the private key:
https://kb.fortinet.com/kb/documentLink.do?externalID=FD33362
https://kb.fortinet.com/kb/documentLink.do?externalID=FD35001
my problem is that the certificate doesn't have a private key and if i download it via gui, once exported to the lab's fortigate it gives me an error (failed to import).
The certificate is configured as below with NO private key:
FORTIGATE (SAML_AZURE_CERT) # sh full-configuration config vpn certificate local edit "SAML_AZURE_CERT" set comments '' unset private-key unset certificate set range global set source user set source-ip 0.0.0.0 set ike-localid-type asn1dn set enroll-protocol none next end
how can i export and import this certificate without generating a new csr?
Thanks for your reply