Skip to main content
khanhtran
Explorer II
Aug 23, 2024 2:25 AM UTC
Question

Fail to create SSL

The secenario is that I was using Forticlient VPN (vpn only version) for remote access. On windows, it works fine with the .crt and .pkf local certificate. However, on Ubuntu, I tried same with those cert and receive a fail to create SSL.

I did research but there was the FortiManagerr and FortiAnalyzer at https://community.fortinet.com/t5/FortiAnalyzer/Technical-Tip-How-to-verify-the-ciphers-used-in-a-PKCS-12/ta-p/327734 but I'm not sure it works the same.

The debug log is as below: 

20240823 09:08:53.049 TZ=+0700 [sslvpn:DEBG] vpn_connection:307 SSL error: error:0308010C:digital envelope routines::unsupported
20240823 09:08:53.049 TZ=+0700 [sslvpn:EROR] vpn_connection:463 Failed parse PKCS#12 file
20240823 09:08:53.049 TZ=+0700 [sslvpn:EROR] vpn_connection:1518 Failed create SSL

 

Anyone that got into such problem and found the way to overcome? Thanks and appreciate any help would come up! 

10 replies

Jean-Philippe_P
Staff & Editor
Staff & Editor
Aug 26, 2024 7:33 AM UTC

Hello khanhtran, 

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

 

Thanks, 

Jean-Philippe - Fortinet Community Team
AEK
SuperUser
SuperUser
Aug 26, 2024 8:27 AM UTC

This looks like a SSL version issue.

Please share the following:

  • FortiClient version
  • Linux version ($ cat /etc/os-release)
  • OpenSSL version ($ openssl version)
AEK
khanhtran
khanhtranAuthor
Explorer II
Aug 26, 2024 10:21 AM UTC

FortiClient VPN (vpn only) version 7.2.2 & 7.4.0

Linux Version : Ubuntu 22.04.4

OpenSSL version: OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

Note:

I tried at config of openssl for the legacy sect to make it default flag for -legacy ( which does overcome the mentioned issue when parsing pkcs#12), however, Forticlient VPN doesn't take effect with that configuration.

AEK
SuperUser
SuperUser
Aug 26, 2024 10:26 AM UTC

Your certificate was generated with legacy provider.

I believe the document your shared should be applicable to FortiClient as well.

https://community.fortinet.com/t5/FortiAnalyzer/Technical-Tip-How-to-verify-the-ciphers-used-in-a-PKCS-12/ta-p/327734

 

AEK
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT