Skip to content

Windows support: Windows openssl binaries use ' = ' instead of '=', breaking scraping #97

Closed
@mikemaccana

Description

The Shining Light Productions Win32 openssl binaries use a slightly different formatting for separating fields in the Subject

Windows

~\Documents\foocorp\node_modules\pem $ openssl req -text -noout -verify -in ..\..\deleteme.csr
verify OK
Certificate Request:
    Data:
        Version: 1 (0x0)
        Subject: C = GB, L = London, O = foocorp Limited, CN = ssltest.foocorp.com

Unix

[mike@a foocorp]$ openssl req -text -noout -verify -in deleteme.csr
verify OK
Certificate Request:
    Data:
        Version: 0 (0x0)
        Subject: C=GB, L=London, O=foocorp Limited, CN=ssltest.foocorp.com

Meaning npm test fails on Windows. I'm not sure why but it's an easy fix. Sending a PR.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions