Skip to content

The http two ways integration test ssl/client_authentication.hurl fails on Windows. #1399

Open
@lepapareil

Description

@lepapareil

Steps to reproduce

With powershell, clone hurl project and execute:

./bin/test/test.ps1

Integration test file that fails

ssl/client_authentication.hurl

Command that fails

hurl ssl/client_authentication.hurl --cacert ssl/server/cert.selfsigned.pem --cert ssl/client/cert.pem --key ssl/client/key.pem --verbose

What is the current bug behavior?

(58) schannel: certificate format compatibility error  for ssl/client/cert.pem

What is the expected correct behavior?

Hello world!

Relevant logs and/or screenshots

>>> error in return code
expected: 0  actual:3
* Options:
*     fail fast: true
*     follow redirect: false
*     insecure: false
*     max redirect: 50
*     retry: false
*     retry max count: 10
* ------------------------------------------------------------------------------
* Executing entry 1
*
* Cookie store:
*
* Request:
* GET https://localhost:8003/hello
*
* Request can be run with the following curl command:
* curl --cacert ssl/server/cert.selfsigned.pem --cert ssl/client/cert.pem --key ssl/client/key.pem 'https://localhost:8003/hello'
*
error: HTTP connection
  --> ssl/client_authentication.hurl:1:5
   |
 1 | GET https://localhost:8003/hello
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (58) schannel: certificate format compatibility error  for ssl/client/cert.pem
   |

Output of checks

  • Version: 2.1.0
  • Operating system and version: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions