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)... 18.104.22.168 Connecting to artifacts.elastic.co (artifacts.elastic.co)|22.214.171.124|:443... connected. ERROR: cannot verify artifacts.elastic.co's certificate, issued by ‘emailAddressfirstname.lastname@example.org,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?