8000 GitHub - andrey-moura/andy-net
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrey-moura/andy-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

networking

HTTPS

For accepting HTTPS request, you'll need OpenSSL libraries. You can install them via apt or download pre-compilated binaries for Windows here.)

For accepting HTTPS request, you'll need a certificate. To be specific, the following ones:

  • server.crt
  • server.key
  • dh2048.pem

For generating self signed version of the certificate, you can run: (Stolen from here.)

openssl genrsa -des3 -out server.key 2048
openssl req -new -key server.key -out server.csr

*sample*
Country Name (2 letter code) [AU]:BR
State or Province Name (full name) [Some-State]:RJ
Locality Name (eg, city) []:Rio de Janeiro
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Moonslate
Organizational Unit Name (eg, section) []:SomeUnitName
Common Name (e.g. server FQDN or YOUR name) []:localhost
Email Address []:.

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:.
An optional company name []:.

openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
cp server.key server.key.secure
openssl rsa -in server.key.secure -out server.key
openssl dhparam -out dh2048.pem 2048

You can have then all in your resources folder, so uva will copy then to the build directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0