chong.zhou
New User
Joined: 31 May 2017 Posts: 10 Location: Czech
|
|
|
|
I am maintaining a piece of SSL client program written in C with GSK APIs.
I need to implement 3 modes for server certificate validation:
1. Matching the CN/SAN domains as well as validating the trust chain;
2. Validating the trust chain only;
3. Establishing SSL connection without certificate validation;
The 3rd mode is helpful for trying out a system within a sandbox LPAR.
However, I went through the GSK documents but did not find a way to skip certificate validation. I guess z/OS intentionally doesn't provide this option, right?
Thank you.
--------------
Additionaly:
The CURL program ported by Rocket Software support the "-k" option, how do they implement this? Maybe they used OpenSSL library instead of GSK? |
|