GithubHelp home page GithubHelp logo

Comments (12)

will-in-wi avatar will-in-wi commented on July 29, 2024

The problem is that you are probably using a CentOS 5 box. It has an older version of OpenSSL which doesn't support the Elliptic Curve (EC) Algorithm which json-jwt depends on. This is why the Readme says:

The CentOS 5 systems do not have a new enough OpenSSL to include the algorithms required. You may be able to make this work using rbenv and compiling openssl yourself.

I want to put together a tutorial for compiling a custom OpenSSL for CentOS 5 and then using RBenv to make this work, but I haven't had time yet.

If your server is not <= web299 and <= dweb88, please let me know. it may be another issue I'm not yet aware of.

from letsencrypt-webfaction.

ryanseddon avatar ryanseddon commented on July 29, 2024

Yeah my server is <web299 so seems to be that issue, I did try and build a local copy of openssl in my home directory but failed. Was following these steps.

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on July 29, 2024

I've built a first draft of a tutorial here: https://github.com/will-in-wi/letsencrypt-webfaction/wiki/Install-custom-OpenSSL-and-Ruby-on-CentOS-5-host

However, I haven't yet been successful in getting RBEnv to use my custom OpenSSL.

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on July 29, 2024

I just got it to work and modified the instructions.

from letsencrypt-webfaction.

ryanseddon avatar ryanseddon commented on July 29, 2024

Great thanks those steps worked but I'm still getting the same error when I run letsencrypt_webfaction --config ~/config.yml?

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on July 29, 2024

What's the output of type letsencrypt_webfaction?

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on July 29, 2024

And type ruby and ruby -ropenssl -e "puts OpenSSL::PKey::EC"?

from letsencrypt-webfaction.

ryanseddon avatar ryanseddon commented on July 29, 2024
[username@webxxx ~]$ type letsencrypt_webfaction
letsencrypt_webfaction is a function
letsencrypt_webfaction ()
{
    PATH=$PATH:$GEM_HOME/bin GEM_HOME=$HOME/.letsencrypt_webfaction/gems RUBYLIB=$GEM_HOME/lib ruby2.2 $HOME/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction $*
}
[username@webxxx ~]$ type ruby
ruby is /usr/local/bin/ruby
[username@webxxx ~]$ rbenv local
2.2.4
[username@webxxx ~]$ ruby -ropenssl -e "puts OpenSSL::PKey::EC"
-e:1: uninitialized constant OpenSSL::PKey::EC (NameError)

from letsencrypt-webfaction.

ryanseddon avatar ryanseddon commented on July 29, 2024

I feel like this may be in a weird state from me trying to use system ruby first and then trying rbenv

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on July 29, 2024

For me, type ruby returns /home/myuser/.rbenv/shims/ruby

I'm guessing that you either need to restart your shell or add eval "$(rbenv init -)" to your .bash_profile.

from letsencrypt-webfaction.

ryanseddon avatar ryanseddon commented on July 29, 2024

Got it!

I deleted letsencrypt_webfaction function from .bash_profile and then did a gem install letsencrypt_webfaction once my ruby was pointing to the right location.

I had to also do this so as not to get an SSL error googleapis/google-api-ruby-client#235 (comment)

Thanks a lot for your help!

from letsencrypt-webfaction.

will-in-wi avatar will-in-wi commented on July 29, 2024

Wonderful! Glad to hear it worked.

from letsencrypt-webfaction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.