-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http/client: add set functions for client certificate and private key
Adds functions that sets the client certificate and private key for HTTPS. The certificate and key can be specified as: - file with http_client_set_cert(), http_client_set_key() or - directly as PEM string with http_client_set_certpem(), http_client_set_keypem(). The function http_client_set_cert() and http_client_set_certpem() accept PEM file/data where certificate and private key are combined or only certificate is contained. If the key is not contained then also http_client_set_key() or http_client_set_keypem() has to be used.
- Loading branch information
Showing
2 changed files
with
150 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters