We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
Following HTTP client throws the error when setting verifyHostName to false without providing a certificate.
error: Need to configure cert with client SSL certificates file.
error: Need to configure cert with client SSL certificates file
final http:Client centralAPI = check new ("https://0.0.0.0:7070", { httpVersion: "1.1", secureSocket: { verifyHostName: false } });
It works when we provide a cert to secureSocket config.
final http:Client centralAPI = check new ("https://0.0.0.0:7070", { httpVersion: "1.1", secureSocket: { cert: "resources/security/client.cer", verifyHostName: false } });
Steps to reproduce:
Affected Versions: Ballerina 2201.9.0 (Swan Lake Update 9) Language specification 2024R1 Update Tool 1.4.2
OS, DB, other environment details and versions:
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):
The text was updated successfully, but these errors were encountered:
TharmiganK
No branches or pull requests
Description:
Following HTTP client throws the error when setting verifyHostName to false without providing a certificate.
error: Need to configure cert with client SSL certificates file
.It works when we provide a cert to secureSocket config.
Steps to reproduce:
Affected Versions:
Ballerina 2201.9.0 (Swan Lake Update 9)
Language specification 2024R1
Update Tool 1.4.2
OS, DB, other environment details and versions:
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):
The text was updated successfully, but these errors were encountered: