wiremock / robotframework-wiremock

Robot framework library for WireMock
https://wiremock.org/docs/solutions/python
MIT License
6 stars 6 forks source link

Support disabling of certificate verification #2

Open jurajama opened 5 years ago

jurajama commented 5 years ago

Currently connection to wiremock server fails when the protocol is HTTPS and self-signed certificate is used. I'm proposing that "Create Mock Session" would take an optional parameter to define whether certificate check is done. Default value would be "True" to be backwards compatible.

The parameter value would go as "verify" parameter for self.session.post in function _send_request.