Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Hussien_Idris
New Contributor

Client certificate for SSLVPN

Hi, i have created an openssl certificate and successfully imported to fortigate then downloaded the selfsigned certificate and imported to my machine. I want to introduce the two factor security i.e. load a certificate onto each of the clients that are connecting to the Fortigate. I have selected the option ' Require Client Certificate' but am not sure what Certificate to use? appreciate your cooperate and feedback regarding how to add certificate to be selected from the client certificate in forticlient tool. attached FYR..

 

thank you

 

Hussien Idris

NSE4, NSE5 & NSE7

NSE4, NSE5 & NSE7
2 Solutions
emnoc
Esteemed Contributor III

Good now here's a few things to check out

 

[ul]
  • is the certificate  sha1 or sha256? ( I've had no luck with SHA256 certs BTW  YMMV)[/ul][ul]
  • What cert-store did you installed it in ? ( personal > Certificates )[/ul][ul]
  • Is the certificate labeled for "user-authentication"  purpose ?[/ul][ul]
  • Did you apply or not-apply  a passphrase  during the import?[/ul][ul]
  • Is the certificate valid ( not expired )?[/ul][ul]
  • Is your system clock good  & correct ?[/ul]

     

     

    Use windows prompt certmgr.msc and validate the above and storage. And restart the forticlient.

     

     

  • PCNSE 

    NSE 

    StrongSwan  

    View solution in original post

    PCNSE NSE StrongSwan
    theG
    New Contributor III

    Hi,

     

    Just thought I'd post to say I've managed to get everything working now. Stumbled across this post and followed instructions and now all is well.

     

    https://community.spiceworks.com/how_to/93311-fortigate-ssl-vpn-2-factor-authentication-using-open-s...

     

     thanks for your help emnoc

     

    theG

    View solution in original post

    6 REPLIES 6
    Paul_S
    Contributor

    Did you get this figured out? Do you understand PKI and how a CA behaves?

    FG200D 5.6.5 (HA) - primary [size="1"]FWF50B' s 4.3.x, FG60D's 5.2.x, FG60E's 5.4.x                   [Did my post help you? Please rate my post.][/size] FAZ-VM 5.6.5  |  Fortimail 5.3.11 Network+, Security+

    FG200D 5.6.5 (HA) - primary [size="1"]FWF50B' s 4.3.x, FG60D's 5.2.x, FG60E's 5.4.x [Did my post help you? Please rate my post.][/size] FAZ-VM 5.6.5 | Fortimail 5.3.11 Network+, Security+
    theG
    New Contributor III

    Hi,

     

    I'm also having this same issue. I've managed to get Forticlient working on Android + IOS devices with the same certificate also generated from OpenSSL, but not windows based device because it's not showing the certificate...

     

    Anyone out there have a working solution on how to get the certificate to show up in Forticlient for windows?

     

    G

    emnoc
    Esteemed Contributor III

    1st question, what type or format is the certificate in pem or pkcs12? You will need to have probably convert the certificate into pkcs12 ( aka p12 ) and you can do that via a openline  convertor or via openssl

     

    openssl pkcs12 -export -inkey < the key file > -in < the certificate file > -out < the new pkcs filename>

     

    Than import the  new pkcs file via the windows certificate manager.

    PCNSE 

    NSE 

    StrongSwan  

    PCNSE NSE StrongSwan
    theG
    New Contributor III

    Hi Emnoc,

     

    The format is already pkcs12 / p12. Imported into "user account" and "local" personal and trusted folders, but still not showing up in Forticlient dropdown...

    emnoc
    Esteemed Contributor III

    Good now here's a few things to check out

     

    [ul]
  • is the certificate  sha1 or sha256? ( I've had no luck with SHA256 certs BTW  YMMV)[/ul][ul]
  • What cert-store did you installed it in ? ( personal > Certificates )[/ul][ul]
  • Is the certificate labeled for "user-authentication"  purpose ?[/ul][ul]
  • Did you apply or not-apply  a passphrase  during the import?[/ul][ul]
  • Is the certificate valid ( not expired )?[/ul][ul]
  • Is your system clock good  & correct ?[/ul]

     

     

    Use windows prompt certmgr.msc and validate the above and storage. And restart the forticlient.

     

     

  • PCNSE 

    NSE 

    StrongSwan  

    PCNSE NSE StrongSwan
    theG
    New Contributor III

    Hi,

     

    Just thought I'd post to say I've managed to get everything working now. Stumbled across this post and followed instructions and now all is well.

     

    https://community.spiceworks.com/how_to/93311-fortigate-ssl-vpn-2-factor-authentication-using-open-s...

     

     thanks for your help emnoc

     

    theG

    Announcements

    Select Forum Responses to become Knowledge Articles!

    Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

    Labels
    Top Kudoed Authors