############################ # MANAGING CERTIFICATES # Target: FortiOS 8.0.0 ############################ # Export a local certificate, PKCS#12 bundle, or signing request to SCP. # File types: cer = public certificate; p12 = certificate and private key; # csr = certificate signing request. Protect every p12 export with a password. execute vpn certificate local export scp {cer | p12 | csr} [<:port>] # Import a signed certificate or PKCS#12 bundle from SCP. The final password is # required when the p12 file is password protected. execute vpn certificate local import scp [<:port>] {cer | p12} [] # Verify that an imported certificate matches its private key. execute vpn certificate local verify