Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openssl-self-signed-certificate

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openssl-self-signed-certificate - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "openssl-self-signed-certificate",
"version": "1.1.1",
"version": "1.1.2",
"description": "Self-signed certificate for development use, generated using openssl. Expires in the year 4754 (4754-06-06).",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -49,7 +49,12 @@ # openssl-self-signed-certificate

var https = require('https');
var options = require('openssl-self-signed-certificate');
var selfSigned = require('openssl-self-signed-certificate');
var options = {
key: selfSigned.key,
cert: selfSigned.cert
};
https.createServer(options, app).listen(port + 1);
console.log(`HTTPS started on port ${port} (dev only).`);
console.log(`HTTPS started on port ${port + 1} (dev only).`);
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc