watson / https-pem Goto Github PK
View Code? Open in Web Editor NEWSelf-signed PEM key and certificate ready for use in your HTTPS server
License: MIT License
Self-signed PEM key and certificate ready for use in your HTTPS server
License: MIT License
Due to an openssl upgrade in Node 10, using this inside of Node.js tls.Server
results in the following:
Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
at Object.createSecureContext (_tls_common.js:131:17)
at Server.setSecureContext (_tls_wrap.js:1152:27)
at Server (_tls_wrap.js:1029:8)
at new Server (https.js:65:14)
at Object.createServer (https.js:89:10)
_tls_common.js:135
c.context.setCert(cert);
^
Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
any idea?
Shipping the private key is highly insecure, as an attacker can exploit it from the public internet (it happened for webpack).
How about we generate the key on install? or we can store it in the .config
folder on the first install and then reuse it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.