0

I am under a corporate firewall, when trying to get the key of elasticsearch, I am getting the following:

wget -4 -v https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
--2021-01-30 23:34:57--  https://artifacts.elastic.co/GPG-KEY-elasticsearch
Resolving artifacts.elastic.co (artifacts.elastic.co)... 34.120.127.130
Connecting to artifacts.elastic.co (artifacts.elastic.co)|34.120.127.130|:443... connected.
ERROR: cannot verify artifacts.elastic.co's certificate, issued by ‘emailAddress=soc.mss@abc.com,CN=ABC-Web-Gateway2,OU=MSS,O=ABC Group,L=Ottawa,ST=Ontario,C=CA’:
  Unable to locally verify the issuer's authority.
To connect to artifacts.elastic.co insecurely, use `--no-check-certificate'.
gpg: no valid OpenPGP data found.

How can I get rid of this imposed certificate?

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.