Skip to main content
ddskier
New Member
Apr 27, 2010 4:50 PM UTC
Question

SSL VPN Client - Require Client Certificate

I' m very frustrated with the SSL VPN " Require Client Certificate" functionality. Fortinet' s documentation isn' t the best on this issue. Support is also taking their sweet time giving me answers that don' t keep refering back to documentation. I' m running 4.0 MR1 - Patch 4. I have purchased a GoDaddy SSL certificate. Installed it on the Fortinet Unit and also installed GoDaddy' s " CA Certificate" on the unit itself. (Per Fortinet Documentation) I went ahead an install the SSL certificate on the client machine under the " Other People" and " Personal" certificate containers. However, no matter what I do, the fortinet unit will not allow my remote user to authenicate while I have the " Require Client Certificate" check box. What am I missing?

    15 replies

    FortiRack_Eric
    New Member
    May 10, 2010 5:04 AM UTC
    x2cao, I think you are a bit of on re-using a ssl certificate as a client certificate. If you read something on PKI then you' ll learn there are some bits enabled or dis- on a cert for its purpose, on a SSL cert, the purpose is server side auth, not client side. Hence it will never work as the FG init will not auth a client using a cert without client side auth set. Furthermore you might think again on allowing every client to auth presenting a godaddy cert. The solution presented by rlord is a viable one, that I would recommend. Cheers Eric
    Translate
    ddskier
    ddskierAuthor
    New Member
    May 14, 2010 2:51 PM UTC
    x2caso. Here are the steps to create your our CA and client certificate to be used for SSLVPN. Purpose & Scope Client side SSL verification uses a privately generated SSL root and each SSL certificate is privately signed by that root. This method has the advantage allowing system administrator to easily generate a new root and SSL certificates. Since no third party involved in signing those SSL certificate, its security is higher than those signed by the public signing agencies without any additional cost. This process requires the installation of OPENSSL. http://www.openssl.org Procedure 1) Create the Certificate Authority. a) Generate a private key: openssl genrsa -out ca.key 1024 b) Generate a certificate request: (Fill in all the proper fields. ) openssl req -new -key ca.key -out ca.csr c) Self-sign the certificate request: openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt 2) Generate the client key and certificate request key to the CA. a) Generate the client key: openssl genrsa -out client.key 1024 b) Generate the client certificate request: openssl req -new -key client.key -out client.csr c) Sign the certificate request: openssl x509 -req -days 365 -CA ca.crt -CAkey ca.key -CAcreateserial -in client.csr -out client.crt d) Convert client certificate to PKCS#12 format: openssl pkcs12 -export -clcerts -in client.crt -inkey client.key -out client.p12 Additional Comments For use with the Fortinet unit, the CA cert needs to be imported into it. Then the p12 cert needs to be imported onto the client machine.
    Translate
    Esteemed Contributor III
    Jul 19, 2010 12:09 PM UTC
    5/14/2010 7:51:28 AM
    I tried following these instructions but when I try to connect using the SSL VPN Client I get the error “Unable to logon to the server. Your user name or password or client certificate may not be configured properly for this connection. (-12)” I checked the settings by turning off the Require Client Certificate then reconnecting -- the connection then worked. I imported the ca.crt (point 1.c) to the CA certificates store -- is this correct? What other trouble shooting steps should I take? Thank you Charlie
    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024