WebFaction
Community site: login faq
0
1

I've been following this helpful guide for installing a Let's Encrypt certificate https://github.com/will-in-wi/letsencrypt-webfaction/wiki/Wordpress and have made it as far as the "Test getting a certificate" section.

When I enter the suggested command for using the test server, I start to receive the following errors:

[lovecreative@web326 home]$ letsencrypt_webfaction --letsencrypt_account_email loveshell@lovecreative.webfactional.com --domains lovecreativeuk.co.uk,www.lovecreativeuk.co.uk --public ~/webapps/love_creative_own_site/ --endpoint https://acme-staging.api.letsencrypt.org/
/home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/application.rb:69:in `validate_options!': Invalid username '' (ArgumentError)
Invalid password ''
    from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/application.rb:17:in `run!'
    from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/exe/letsencrypt_webfaction:5:in `<top (required)>'
    from /home/lovecreative/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in `load'
    from /home/lovecreative/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in `<main>'

Does anyone have any idea about what I need to do to get past this stage?

asked 16 Jan, 13:20

liamjay66's gravatar image

liamjay66
114
accept rate: 0%

Based on the error message are you using your WebFaction Control Panel username and password?

You should be using the following for that utility now.

--username <wf cp="" username=""> --password <wf cp="" password="">

(16 Jan, 13:33) aaront ♦♦ aaront's gravatar image

Thanks for replying. The suggested commanded on the page I linked to in my original comment doesn't ask for any username or password, but I am using my control panel username and password to connect to the server via ssh.

Just so I'm clear on what you mean by your comment, do you want me to insert the following at the end of the original command?

--username <wf cp="MY_USERNAME" username="MY_USERNAME"> --password <wf cp="MY_PASSWORD" password="MY_PASSWORD">

(16 Jan, 13:55) liamjay66 liamjay66's gravatar image

That is correct as that utility has changed and now logs into the WebFaction Control Panel and creates the SSL certificate directly.

You may need to log in and change the SSL certificate the website uses as it may create one with a different name.

(16 Jan, 14:00) aaront ♦♦ aaront's gravatar image

The wordpress guide is not converted to the 2.x utility which no longer sends emails, and uses WebFaction's API to install the certificate.

You need to add the --username and --password parameters to the command in order for it to work.

permanent link

answered 18 Jan, 01:03

williaminwi's gravatar image

williaminwi
414
accept rate: 0%

Following the above suggestion, I've entered the following but it's still erroring:

[lovecreative@web326 home]$ letsencrypt_webfaction --account_email loveshell@lovecreative.webfactional.com --domains lovecreativeuk.co.uk,www.lovecreativeuk.co.uk --public ~/webapps/love_creative_own_site/ --endpoint https://acme-staging.api.letsencrypt.org/ --support_email loveshell@lovecreative.webfactional.com --username wf cp="MY_USERNAME" username="MY_USERNAME" --password wf cp="MY_PASSWORD" password="MY_PASSWORD"
/home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/args_parser.rb:121:in `parse!': invalid option: --account_email (OptionParser::InvalidOption)
    from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/args_parser.rb:49:in `initialize'
    from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/application.rb:12:in `new'
    from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/application.rb:12:in `initialize'
    from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/exe/letsencrypt_webfaction:5:in `new'
    from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/exe/letsencrypt_webfaction:5:in `<top (required)>'
    from /home/lovecreative/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in `load'
    from /home/lovecreative/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in `<main>'

I'm probably making some silly mistake now, as working in the command line is not my strong point, so if anyone has any suggestions then I'd be really grateful.

permanent link

answered 16 Jan, 14:25

liamjay66's gravatar image

liamjay66
114
accept rate: 0%

edited 16 Jan, 14:25

Please try using --letsencrypt_account_email loveshell@lovecreative.webfactional.com as that is what worked for me.

At some point I believe the utility changed the email switch.

(16 Jan, 14:28) aaront ♦♦ aaront's gravatar image

That's changed the results, but I'm still not receiving any emails :(

[lovecreative@web326 ~]$ letsencrypt_webfaction --letsencrypt_account_email loveshell@lovecreative.webfactional.com --domains lovecreativeuk.co.uk,www.lovecreativeuk.co.uk --public ~/webapps/love_creative_own_site/ --endpoint https://acme-staging.api.letsencrypt.org/ --letsencrypt_account_email loveshell@lovecreative.webfactional.com --username wf cp="MY_USERNAME" username="MY_USERNAME" --password wf cp="MY_PASSWORD" password="MY_PASSWORD" /usr/local/lib/ruby22/ruby/2.2.0/net/http.rb:879:in initialize': execution expired (Net::OpenTimeout) from /usr/local/lib/ruby22/ruby/2.2.0/net/http.rb:879:inopen' from /usr/local/lib/ruby22/ruby/2.2.0/net/http.rb:879:in block in connect' from /usr/local/lib/ruby22/ruby/2.2.0/timeout.rb:88:inblock in timeout' from /usr/local/lib/ruby22/ruby/2.2.0/timeout.rb:98:in call' from /usr/local/lib/ruby22/ruby/2.2.0/timeout.rb:98:intimeout' from /usr/local/lib/ruby22/ruby/2.2.0/net/http.rb:878:in connect' from /usr/local/lib/ruby22/ruby/2.2.0/net/http.rb:863:indo_start' from /usr/local/lib/ruby22/ruby/2.2.0/net/http.rb:858:in start' from /usr/local/lib/ruby22/ruby/2.2.0/xmlrpc/client.rb:494:indo_rpc' from /usr/local/lib/ruby22/ruby/2.2.0/xmlrpc/client.rb:286:in call2' from /usr/local/lib/ruby22/ruby/2.2.0/xmlrpc/client.rb:267:incall' from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/certificate_installer.rb:33:in session_id' from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/certificate_installer.rb:14:ininstall!' from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/lib/letsencrypt_webfaction/application.rb:26:in run!' from /home/lovecreative/.letsencrypt_webfaction/gems/gems/letsencrypt_webfaction-2.0.0/exe/letsencrypt_webfaction:5:in<top (required)="">' from /home/lovecreative/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in load' from /home/lovecreative/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in<main>'

(16 Jan, 14:46) liamjay66 liamjay66's gravatar image

I have not used the test server, however I can confirm that creating or renewing a live SSL certificate does not generate an email.

(16 Jan, 15:02) aaront ♦♦ aaront's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×82
×68
×16

question asked: 16 Jan, 13:20

question was seen: 1,209 times

last updated: 18 Jan, 01:03

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM