cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with application on custom port

sumitpundir
Nimbostratus
Nimbostratus

Hi All,

I onboarded an application "https://xyz.com:5555". Have applied client and server SSL profiles to it. However, when API requests for API, it throws an error "http_request_failed" along with "cURL error 60: SSL Certificate problem: unable to get local issuer certificate". Once we shift traffic directly to the server, issue can no longer be seen.Kindly let me know where i could be going wrong.

Regards,Sumit.

 

8 REPLIES 8

Have you googled what the errors mean for curl not f5 as there is a lot of info on the internet that maybe the API client system does not have the CA cert that F5 uses or the intermidiate cert is not attached to the F5 ssl profile:

 

https://www.ibm.com/mysupport/s/question/0D50z00005q4FheCAE/curl-60-ssl-certificate-problem-unable-t...

https://kb.vmware.com/s/article/78471

 

F5 CA chain:

 

https://support.f5.com/csp/article/K41280190

 

https://support.f5.com/csp/article/K13302

 

 

Thank you for the details Nikoolayy, certificate is available at API client end and also we have required certificates under SSL profile attached with VIP.
Application works fine once we direct the traffic directly to the server. Issue comes when WAF is in picture and once OTP requests are made.

 

Thank you once again for your input.

If you have other F5 modules like WAF or APM for OTP in some rare cases they can cause issues as the F5 apm and asm can be controlled with layered virtual servers how to work with each other which module to be first and the f5 asm needs to be bypassed for f5 APM remote vpn to work if you are using this. Also check the ssl handshake logs on the F5 device and if needed enable ssl handshake debug(it should be enabled by default on 13.1 and newer) as F5 in many cases can better tell you why the handshake fails as maybe ssl client certificate authentication  failure etc. and if features like ask proxy, etc.are enabled on the client ssl profile.        Just for info you are not using machine certificate authentication to the F5 APM on the rest-api clients right as I saw something about that?

@Nikoolayy1  Shall check on handshake debug once we onboard the application again. Thanks.

Also, we are not using machine certificate authentication.

Gajji
Cirrus
Cirrus

Sorry not much details in your query
Does it work without WAF ?
Have you taken tcpdump capture? if you share plz.

@Gajji API is to get OTP. Yes, it works fine once WAF is bypassed, error screenshot attached with initial post.

As of now it i not possible to take tcpdump, traffic is bypassed.

Verify
1)client certificate , does it contain chain certficate(including root) or you just install cert or

reinstall it.....

2) on Client and server side both having self signed cert?

3)WAF bypassed  - when WAF is enabled - do you see any error with support id or Source IP?