You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sslize

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sslize

Automatic reverse proxy with let's encrypt. All requests received will be create a reverse proxy to port 80. SSL will be generated with let's encrypt for each host in requests

3.0.0
latest
Source
npmnpm
Version published
Weekly downloads
16
60%
Maintainers
1
Weekly downloads
 
Created
Source

SSLize

Automatic reverse proxy with let's encrypt.
All requests received will be create a reverse proxy to an regular http server SSL will be generated with let's encrypt for each host in requests. This is very useful to put that app in front an web server that only has support for http

Install

npm install -g sslize

Usage

First register the domain[s] to use:
```
npx greenlock add --subject domain.com  --altnames domain.com
```

then start the sslize
```
sslize email protocol://host:port productionServer(true|false)
```

Example

```
npx greenlock add --subject domain.com  --altnames domain.com
sslize john@example.com http://destination-server.com:8080 false
```

This command will start a webserver on port 80 and 443 to receive the incoming connection then register the ssl if necessary then connect it to the destination, in our case http://destination-server.com:8080, but it could be another webserver as well.

Production

sslize john@example.com http://destination-server.com:8080 true

Only use the productionServer only when you have sure that will work, first test with staging server, setting the last argument to false

References

https://www.npmjs.com/package/greenlock

https://git.rootprojects.org/root/greenlock.js.git

https://git.rootprojects.org/root/greenlock.js/issues/29

https://git.rootprojects.org/root/greenlock-express.js

https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples

https://github.com/fernandobhz/sslize/blob/00580e97ac2cd6402ba912d915ca975fbc33eb73/sslize.js

https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/http-proxy/server.js

Credits

https://www.linkedin.com/in/fernandoreisguimaraes/

Donate

paypaldonate

Keywords

lets

FAQs

Package last updated on 17 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts