Skip to content
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

Solution: An error occurred during the request. Unable to proceed. Certificate "4510" has been revoked #37

Closed
sonaxpro opened this issue Jul 20, 2023 · 3 comments

Comments

@sonaxpro
Copy link

I try to install this plugin in NC v26.
After git clone I have in admin-section Apps by Shifts buttons "Remove" and "Download and enable".
When I click to "Download and enable", I get error An error occurred during the request. Unable to proceed. Certificate "4510" has been revoked.

Now I understand, that the Name in Github "Shifts" with great "S" and Nextcloud don't see cumstoms_apps/shifts, it's cumstoms_apps/Shifts and download from apps.nextcloud.com 1.8.6 version (new is 1.9.0)

I have 2 Folder
*Shifts (1.9.0)
*shifts (1.8.6)

My bash skript:

cd custom_apps
rm -rf shifts/
rm -rf Shifts/
git clone https://github.com/csoc-de/Shifts.git
mv Shifts/ shifts/
cd shifts/
npm i
make dev-setup
@sonaxpro
Copy link
Author

Autor, please rename repo from Shifts to shifts.

@sonaxpro
Copy link
Author

sonaxpro commented Jul 21, 2023

For install from apps.nextcloud.com 1.8.6 you can errors remove, if you disable checks in your nextcloud:

  1. An error occurred during the request. Unable to proceed. Certificate "4510" has been revoked
    Make comments in nextcloud/lib/private/Installer.php:241-259
    // Verify if the certificate has been revoked
    /*$crl = new X509();
    foreach ($rootCrts as $rootCrt) {
    $crl->loadCA($rootCrt);
    }
    $crl->loadCRL(file_get_contents(__DIR__ . '/../../resources/codesigning/root.crl'));
    if ($crl->validateSignature() !== true) {
    throw new \Exception('Could not validate CRL signature');
    }
    $csn = $loadedCertificate['tbsCertificate']['serialNumber']->toString();
    $revoked = $crl->getRevoked($csn);
    if ($revoked !== false) {
    throw new \Exception(
    sprintf(
    'Certificate "%s" has been revoked',
    $csn
    )
    );
    }*/

  2. App "shifts" cannot be installed because it is not compatible with this version of the server
    Make comments in nextcloud/lib/private/Installer.php:130-137
    /*if (!\OC_App::isAppCompatible($version, $info, $ignoreMax)) {
    throw new \Exception(
    // TODO $l
    $l->t('App "%s" cannot be installed because it is not compatible with this version of the server.',
    [$info['name']]
    )
    );
    }*/

of course, after installation, it is necessary to uncomment it back

@csoc-kevink
Copy link
Collaborator

The old certificate has been revoked since we ordered a new certificate.
Unfortunately, we are currently not able to publish the new version in the appstore since we're getting a signature error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants