OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
[x] Have you provided a full/minimal spec to reproduce the issue?
[x] Have you validated the input using an OpenAPI validator (example)?
[x] What's the version of OpenAPI Generator used?
[x] Have you search for related issues/PRs?
[x] What's the actual output vs expected output?
[x] [Optional] Bounty to sponsor the fix (example)
Description
On the example project openapi-v3,
One Shell run "cargo run --example server -- --https "
Another Shell run "cargo run --example client -- --https UuidGet"
Fail with the following error:
Err(ApiError("No response received: The OpenSSL library reported an error: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:s3_clnt.c:1264:")) (X-Span-ID: XSpanIdString("4f9b1d61-d15e-453c-a7f3-7e4679213549"))
openapi-generator version
5.0.x and master both fail
OpenAPI declaration file content or url
example openapi-v3.yaml
Command line used for generation
One Shell run "cargo run --example server -- --https "
Another Shell run "cargo run --example client -- --https UuidGet"
Steps to reproduce
On the example project openapi-v3,
1.One Shell run "cargo run --example server -- --https "
Another Shell run "cargo run --example client -- --https UuidGet"
Fail with the following error:
Err(ApiError("No response received: The OpenSSL library reported an error: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:s3_clnt.c:1264:")) (X-Span-ID: XSpanIdString("4f9b1d61-d15e-453c-a7f3-7e4679213549"))
Related issues/PRs
Suggest a fix
After replace the ca.pem/server-chain.pem/server-key.pem to new self signed CA, it works.
Can someone update the pem in the code.
Bug Report Checklist
Description
On the example project openapi-v3,
openapi-generator version
5.0.x and master both fail
OpenAPI declaration file content or url
example openapi-v3.yaml
Command line used for generation
One Shell run "cargo run --example server -- --https " Another Shell run "cargo run --example client -- --https UuidGet"
Steps to reproduce
On the example project openapi-v3, 1.One Shell run "cargo run --example server -- --https "
Related issues/PRs
Suggest a fix
After replace the ca.pem/server-chain.pem/server-key.pem to new self signed CA, it works. Can someone update the pem in the code.