• I got this error and was just about to redo everything when I spotted the issue.

    The error was: “unable to set private key file: ‘\/home\/xxx\/public_html\/swish.pem’ type PEM”

    The issue was an extra tab chat between the key and the certificate.

    In my editor (Atom) I had clicked enter after the private key and that generated a tab in the file so it looked like this:
    —–END RSA PRIVATE KEY—–
    <tab>—–BEGIN CERTIFICATE—–

    That was enough to break things when trying to checkout. Just leaving this info here in case somebody else stumbles upon it or you want to write a faq.

    Thanks for a great plugin!

    • This topic was modified 5 years, 10 months ago by Ben Andersen.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘unable to set private key file’ is closed to new replies.