Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need an option for HTTP client endpoint to disable the SSL Certificate Validation. #15147

hejunchen opened this issue Apr 24, 2019 · 1 comment


None yet
2 participants
Copy link

commented Apr 24, 2019

I am coding in Ballerina to make HTTP request against an internal web services. The internal web service has self-signed SSL certificate.

I can add that self-signed certificate into my truststore.p12 file, but I want to see if there is an option to allow me disable the SSL validation?

Steps to reproduce:

I don't want to attach the p12 file for each application written in Ballerina, neither I want to manually add each Self-Signed SSL Cert to Ballerina's Home directory's p12 truststore. There shall be an easy way to disable the SSL Cert. If we are writing Ballerina code for integration parts, there are a lot of chances that the code is only wiring up with the internal service. Self-Signed SSL Cert is widely used if the application is only implemented inside company's internal network.

other languages such as Python allows to disable the SSL validation via an optional parameter

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):
SSL, Self-Signed Certificate


This comment has been minimized.

Copy link

commented May 2, 2019

@hejunchen Thanks for reporting this issue.
We are discussing this with the team. Hopefully this feature will be added in a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.