Skip to main content
aagrafi
New Member
November 3, 2016
Solved

Setting the name of an external CA certificate

  • November 3, 2016
  • 2 replies
  • 22820 views

Hello,

When I import an external CA certificate to a FortiGate (5.4.1), I have noticed that I cannot set the certificate's name. The name is always been set by FortiOS to "CA_Cert_1". Do you know if I can set a different name to this certificate?

 

BTW, when I import an SSL certificate as local, FortiOS allows me to set any name I desire. The restriction seems to be in the name of the CA certificate only.

 

Thanks

    Best answer by dabbes

    Hi,

    how about:

    config vpn certificate ca rename CA_Cert_1 to Test-1-CA rename CA_Cert_3 to Test-3B-CA

    2 replies

    tanr
    New Member
    November 3, 2016

    I too would like to be able to specify the name of, or rename, a CA certificate.

     

    From the CLI, rename of  a CA certificate with no references fails, and "exec vpn certificate ca import" doesn't allow you to enter a name.

    aagrafi
    aagrafiAuthor
    New Member
    November 3, 2016

    Hmmm, according to the handbook, it seems that the CA certificate name is set by the ForiOS automatically:

     

    "The system assigns a unique name to each CA certificate. The names are numbered consecutively (CA_Cert_1, CA_Cert_2, CA_Cert_3, and so on)."

     

    Although I don't understand why you can set the name of an SSL certificate, but you cannot do the same to the CA certificate name, I take this as final, unless someone of you guys knows something different.

    rabzy
    New Member
    March 15, 2017

    Hello Guys,

    I want to create a CSR for my fortigate. But when i download it and open it with notepad, i can a blank text. What could be wrong.

    dabbes
    dabbesAnswer
    Visitor III
    September 15, 2017

    Hi,

    how about:

    config vpn certificate ca rename CA_Cert_1 to Test-1-CA rename CA_Cert_3 to Test-3B-CA