New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Fatal Error: Class Crypt_RSA not found #64
Comments
Hmm. It seems like you still have problems with your dependencies. |
this is what I got: git pull php composer.phar updateLoading composer repositories with package information
and I can't still get rid of the Fatal error: Class 'Crypt_RSA' not found error |
@Wouter0100 Are you sure that Crypt_RSA is a dependancy? It's a PEAR repo, which migrated to phpseclib (https://github.com/phpseclib/phpseclib) |
See https://pear.php.net/package/Crypt_RSA
Perhaps the PEAR package is installed on some servers by default. |
Hmm, yeah. We should add that one, I guess we should receive it through another dependency, but we're also using this one. |
The comment of @barryvdh to use `phpseclib\Crypt\RSA is tested by an user of the plugin and it works fine. |
Hmm, if that user could open a PR, would be awesome ;) |
Just messed up a install of this plugin. Removed everything and pulled the plugin again. Now i got this error also. |
Hmm, can you add the package to the |
Like so? and then run Output: Output in DA: |
Thats a different class name. |
Uuhm what do i need to correct. I think i'm missing someting ;-) |
I'm getting the same error with a fresh install of the plugin. |
@svouplin Which version of PHP are you using? |
@Petertjuh360 I'm using PHP 5.5.31 |
Had the same error. Went to Admin level -> "Let's Encrypt Certificates" -> selected "Let's Encrypt Live" and saved. Then back to user level to request SSL certificate for domain and it worked. |
When I go to Admin level -> "Let's Encrypt Certificates" I get an error: |
@svouplin please create another issue for this with debug information. @Swissgroove That won't solve the problem for sure. |
@Wouter0100 That error is now gone. And the solution from @Swissgroove doesn't work for me. |
why this is close? how to fix that problem? even if I go to admin letsencrypt and set it to live, I'm still getting the Class Crypt_RSA not found error |
Because there is an open PR which fixes this. |
But the problem isn't fixt with the PR, still the same error on the user page. pulled 5min ago as clean install... |
@WaaaghNL The pull request has to be merged first. |
oops my bad |
It doesn't need to be merged. If you switch to the |
@Wouter0100 it's working, but i'm back to #57 |
|
It's already merged in |
I have installed da-letsencrypt, with php = 5.5.x and have sni enabled.
In DA, when I go to the user level, select the domain / subdomain and tried to request a SSL certificate, click on the TOS checkbox and submit, I got:
Fatal error: Class 'Crypt_RSA' not found in /usr/local/directadmin/plugins/da-letsencrypt/includes/lib/Account.php on line 94
The text was updated successfully, but these errors were encountered: