title: Locust - Python - ssl.SSLError: [SSL] PEM lib (_ssl.c:4065)
body: <p>I am new to python and locust, trying to run my first locust perf script to test an API
  However, I am  getting error as ssl.SSLError: [SSL] PEM lib (_ssl.c:4065)
  for following code.</p>
  <pre><code>class MyHttpTest(HttpUser):
  wait_time = constant(5)
  host = &quot;https://abc.myorg.net&quot;
  headers = {
      'Content-Type': &quot;application/json&quot;,
      'Ocp-Apim-Trace': &quot;true&quot;,
      'Ocp-Apim-Subscription-Key': &quot;&lt;APIM subscription Key&gt;&quot;,
      'Cache-Control': &quot;no-cache&quot;
  }
  payload = &quot;{\n\t\&quot;name\&quot;: \&quot;abc\&quot;\n}&quot;
  
  @task
  def get_status(self):
  
      self.client.headers = self.headers
      self.client.verify = False
  
      self.client.post(&quot;/uam/Link/Get/v1&quot;, data=self.payload,
                       cert=(&quot;&lt;path to pfx certificate&gt;&quot;,
                             &quot;&lt;password of pfx certificate&quot;))
  </code></pre>