
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
nassau-https-proxy
Advanced tools
enable HTTPS in your local development environment with automatically generated certificates
This is a simple SSL-stripping reverse proxy for local development. You don’t need to configure your apache or nginx or vagrant or whatever to use SSL. Just complete a simple setup and all of your local projects will be available over HTTPS without browser warnings.
npm install -g nassau-https-proxy
You need to have openssl
available on your system, since it’s used to generate certs.
For convenience, proxy listens on the default HTTPS port (443) so it needs to be ran as root:
$ sudo nassau-https-proxy
Listening on 443. Forwarding to http://localhost:80
Add this cert as a trusted root to get rid of SSL warnings: /home/bob/.nassau-proxy/ssl.proxy.nassau.crt
The cert will be added to your system keychain during install, but if something goes wrong, you may always do this manually:
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/.nassau-proxy/ssl.proxy.nassau.crt
Or:
open ~/.nassau-proxy/ssl.proxy.nassau.crt
And set it to "always trust". Google it if you have any problems
If you need to run it on a different port, use PORT
env:
env PORT=8443 nassau-https-proxy
By default it forwards to your local apache/nginx instance. You can change this behaviour using env variables:
env FORWARD_PORT=8080 FORWARD_HOST=vagrant-for-example nassau-https-proxy
By default, it waits five minutes for a response from the proxied server. You can adjust the timeout using PROXY_TIMEOUT
. For example, if you want to adjust the timeout to 10 minutes:
env PROXY_TIMEOUT=600 nassau-https-proxy
After trusting the generated root certificate (ssl.proxy.nassau.crt
), your browser will accept any dummy cert generated for your domains by the proxy. Navigate to https://localhost to check the results.
FAQs
enable HTTPS in your local development environment with automatically generated certificates
The npm package nassau-https-proxy receives a total of 111 weekly downloads. As such, nassau-https-proxy popularity was classified as not popular.
We found that nassau-https-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.