weixin_39573136 2020-11-20 18:15
浏览 0

Allow use of existing SSL/TLS certs outside project directory

I'm not sure if this is the correct repo to report this issue, jsreport seems to be somewhat modular, and I'm not sure which part handles this issue...

I'm trying to use an existing cert in /etc/ssl/certs, but jsreport cannot find it when I use the path with a leading / because it looks for the cert starting from the jsreport directory.

I was able to run jsreport with my SSL cert only after addressing the .key and .crt files by backing out of the current directory first (../../../../../etc/ssl/certs/certname.crt).

Could jsreport be updated to allow for absolute paths rather than assuming a relative path? I tried looking for where the config file was read in the code, but didn't find it...

Thanks.

该提问来源于开源项目:jsreport/jsreport

  • 写回答

1条回答 默认 最新

  • weixin_39573136 2020-11-20 18:15
    关注

    Ok, it appears to work now after restarting Chrome. Much thanks!

    评论

报告相同问题?