nikushi / minipack

Minipack, a gem for minimalists, which can integrates Rails with webpack. It is an alternative to Webpacker.
MIT License
115 stars 22 forks source link

Support for HTTPS for manifest #41

Open luca-suriano opened 3 years ago

luca-suriano commented 3 years ago

In development we are using https and reading at the gem's code here https://github.com/nikushi/minipack/blob/master/lib/minipack/manifest.rb#L105 it supports http only.

Therefore if my manifest lives under an https endpoint a certificate is needed otherwise an SSL error is thrown. Currently I'm seeing:

SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)

I might have a PR ready 🙂