Comments (2)
1、
ls -la /System/Library/OpenSSL/openssl.cnf
-rw-r--r-- 1 root wheel 9390 Aug 23 2015 /System/Library/OpenSSL/openssl.cnf
2、
openssl req -new -x509 -keyout ca.key -out ca.crt -config /System/Library/OpenSSL/openssl.cnf
Generating a 1024 bit RSA private key
.....++++++
..++++++
writing new private key to 'ca.key'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
Country Name (2 letter code) [AU]:CN
State or Province Name (full name) [Some-State]:sichuan
Locality Name (eg, city) []:chengdu
Organization Name (eg, company) [Internet Widgits Pty Ltd]:yinhai
Organizational Unit Name (eg, section) []:MTXT
Common Name (e.g. server FQDN or YOUR name) []:Summer
Email Address []:[email protected]
3、see
http://www.mamicode.com/info-detail-906003.html
from nodejs-proxy.
openssl genrsa -out ryans-key.pem 1024
openssl req -new -key ryans-key.pem -out ryans-csr.pem
openssl x509 -req -in ryans-csr.pem -signkey ryans-key.pem -out ryans-cert.pem
from nodejs-proxy.
Related Issues (14)
- encoding of proxy response should be set to 'binary" HOT 2
- Add support for https
- Fails to run if no host filters created
- stop watch file before accessing to it HOT 1
- fails to run if no ssl keys and certificates
- X-Forwarded-For IPs ordering issue HOT 1
- Support configuring ssl ciphers
- Unusable without SSL HOT 1
- Incomplete response on gzipped requests HOT 1
- port handling in incoming request HOT 1
- Process breaked on error HOT 3
- Strange issue with hostname (transparent proxy) HOT 1
- error relating to split command on ubuntu 10.10 node.js 0.5.0 pre HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejs-proxy.