question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

strict-ssl warning appears when using download.strictSSL

See original GitHub issue

When building using cli.js I am always seeing the warning The strict-ssl parameter is deprecated, use download.strictSSL instead. I wanted to get rid of it so I checked where and why it was generated. So it seems that in common.js we check if there is a strict-ssl option and warn if there is, but in cli.js we intentionally add that option with a default value.

I am probably missing something, but also this might be an inconsistency. I would be happy to open a PR if it is.

Which version of electron-packager are you using?

7.0.0

What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are you passing to the packager() function?

    electron-packager client application-name --platform=darwin \
        --arch=x64 --out=bin --icon=client/icon.icns \
        --ignore="node_modules/electron-*" \
        --overwrite

What version of Electron are you building with?

0.37.7

What is the host platform are you running electron-packager on?

darwin

What target platform(s)/architecture(s) are you building for?

darwin & win32

Is there a stack trace in the error message you’re seeing?

No.

Please provide either a failing testcase or detailed steps to reproduce your problem.

Running electron-packager with the provided arguments shows the warning.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
maleptcommented, May 13, 2016

For any future commenters: yes, we know it’s reproducible, we’re just waiting on a fix now.

0reactions
maleptcommented, May 18, 2016

The download being slow is a different issue and unlikely to be related to electron-packager. I would suggest troubleshooting your network connection, in particular to github.com & its CDN.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix SSL certificate error when running Npm on Windows?
Use npm config set cafile /path/to/DigiCertHighAssuranceEVRootCA.crt to set root certificate for your npm program. you can download root certificate from : ...
Read more >
npm@5.0.3: When proxied, `strict-ssl=false` or custom CAfile ...
I use a proxy to connect to the web. I use a proxy when downloading Git repos. I access the npm registry ...
Read more >
Dealing with SSL Authentication on a secure Corporate Network
For some package use urllib2 while installation and urllib2 package raise an SSL Exception. To fix that issue, Look for site_packages/certifi ...
Read more >
How to Resolve Certificate Errors in a NodeJS App with SSL ...
In this article, We discuss how to resolve the certificate errors in NodeJs App in detail. If you still can't fix the error...
Read more >
Origin CA certificates - SSL/TLS - Cloudflare Docs
Once deployed, these certificates are compatible with Strict SSL mode. ... Click a link below to download either an RSA and ECC version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found