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.

SSL key and certificate created as folders when ssl config is incorrect

See original GitHub issue

Hi, I only found a corresponding issue on arunoda/meteor-up #651, so I open it here too as it happened to me using this version too.

I am using Meteor 1.4, and I had a mistake in my mup.js, as I set up

ssl : {
certificate : "./foo.crt",
key : "./bar.crt",
...

instead of

ssl : {
crt: "./foo.crt",
...

This mistake led to the creation of /opt/myWonderfulApp/config/bundle.crt/ and /opt/myWonderfulApp/config/private.key/ folders instead of files on the server.

After fixing my mup.js, mup setup failed with the Copying SSL Certificate Bundle: FAILED message, as it could not create the bundle.crt and private.key files on server.

Deleting /opt/myWonderfullApp fixed it.

That’s clearly tricky to debug, as there are no message when the ssl config is wrong and mup (or docker ?) creates folders instead of files in this case.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
vedovatocommented, Oct 3, 2016

Yo tip to delete the app from /opt/ saved me from wasting more than 2 already wasted weeks! Tks

0reactions
zoderncommented, Mar 15, 2017

In the next release it will delete the old certificate and key before uploading. The validator currently warns about many problems with the SSL config.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common SSL Certificate Errors and How to Fix Them
This error appears when you are using a private key which has already been used. A private key and CSR must only be...
Read more >
Troubleshooting SSL related issues (Server Certificate)
Scenario 1. Check if the server certificate has the private key corresponding to it. Refer the below picture: Two screenshots of the Certificate ......
Read more >
Solved: Re: Why am I now getting "SSL configuration issue
I fixed this by turning off the SSL connection to the Domain Controller. My next task is to figure out what changed with...
Read more >
Troubleshooting Apache SSL Certificate Errors
To find this file, run a quick grep command (change /etc/apache2/ to your Apache home directory).
Read more >
"Invalid Certificate" When Installing SSL Certificate on ADC ...
Use a secure copy program (WinSCP ) to copy the certificate and key files to the /nsconfig/ssl directory of the ADC appliance. ·...
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