• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Grafana package install CERTIFICATE_VERIFY_FAILED

Roberto Gibertini

New Pleskian
Server operating system version
Ubuntu 20.40
Plesk version and microupdate number
18.0.65 Update #2
Trying to install the monitoring extension we have problem with the grafana package.
following different KB articles we try to install it from shell...
we receive the errore certificate_verify_failed
and it seems that there is no way to correct them....

we are on a updated ubuntu 20.04 linux server
 
Hello! The issue can be caused by Broken CA certificates configuration on OS level caused by Ubuntu bug with ID 396818:

Warning: Before applying solution below I would recommend you create snapshot of the server.

1. Connect to the server via SSH

2. Move /usr/lib/ssl directory:
Code:
# mv /usr/lib/ssl /usr/lib/ssl_old

Reinstall CA certificates:
Code:
# apt-get install --reinstall openssl ca-certificates

Ensure that the certificate can be obtained without any errors:
Code:
# python2 -c 'import urllib2 ; print urllib2.urlopen("https://packages.grafana.com/gpg.key").read()'
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFiHXVIBCADr3VDEAGpq9Sg/xrPVu1GGqWGXdbnTbbNKeveCtFHZz7/GSATW
...

Reinstall Grafana extension:
Code:
# plesk bin extension --uninstall grafana
# plesk bin extension --install grafana

Verify Grafana package was installed successfully:
Code:
# dpkg --list | grep grafana
ii grafana amd64 Grafana

Please let me know if the issues still persists after that.
 
the command:
python2 -c 'import urllib2 ; print urllib2.urlopen("https://packages.grafana.com/gpg.key").read()'
report the usual error CERTIFICATE_VERIFY_FAILED
 
If the issue still persists and you reinstalled certificates it's most likely system issue as I was not able to reproduce described behavior in the test environment on Ubuntu 20 and Plesk 18.0.65. Grafana was installed without issues.

I would recommend check and sync system time on server as sometimes it can cause such issues. If this does not help please consider creating ticket to Plesk technical support team for further investigation.
 
Back
Top