The node wrapper should pass the new --sslcert and --sslkey options to server
See original GitHub issueTwo new command line options, --sslcert
and --sslkey
, were added to the Ruby pact mock service which this library wraps. These options allow you to specify a particular SSL certificate instead of using one that’s generated each time. This way you can create a certificate, add it to your computer’s list of trusted root certificates, and avoid the SSL errors typically thrown by web browsers. I plan on submitting a PR for this shortly.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Installing an SSL certificate on Node.js - Hosting - Namecheap
After the SSL certificate is issued, it should be implemented on the web server to enable HTTPS connections. Upon issuance, the Certificate Authority...
Read more >MongoDB SSL With Self Signed Certificates In Node.js
The MongoDB driver provides server-level and replica set-level SSL options ( sslValidate , sslCA , sslCert , sslKey , sslPass ) to configure...
Read more >How Do SSL Certificates, Private Keys, & CSRs Work?
This will extract information about your domain and organization from the SSL certificate and use it to create a new CSR, thus saving...
Read more >Can nodejs generate SSL certificates? - Stack Overflow
The largest problem i'm facing is that i don't know how to generate CA and other server certificates in node.js. In Python, there...
Read more >Documentation: 15: F.38. postgres_fdw - PostgreSQL
A foreign server using the postgres_fdw foreign data wrapper can have the same ... may create or modify user mappings with the sslcert...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries! It’s on my to-do, but I’ll try and get that sorted this morning for you. Closing this for now.
@mefellows @mboudreau Thanks for your quick help! Now that I understand the implementation a bit more, I see that my original question was a bit misguided. The
createServer
method in pact-node does indeed work properly, as your gist shows. However, I’m trying to implement these options from the pact-js library, and I see that the constructor in pact-js doesn’t yet handle thesslcert
andsslkey
params.Will those be coming soon to pact-js?
Thanks again!