skip to Main Content

openjdk version "11.0.16" 2022-07-19 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.16.0.8-1.el9_0) (build 11.0.16+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.el9_0) (build 11.0.16+8-LTS, mixed mode, sharing)

sudo rpm –import https://artifacts.elastic.co/GPG-KEY-elasticsearch

error: https://artifacts.elastic.co/GPG-KEY-elasticsearch: key 1 import failed.

2

Answers


  1. update-crypto-policies --set DEFAULT:SHA1
    

    and

    sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
    
    Login or Signup to reply.
  2. Just fix this issue working with rocky8 rocky9 or rhel 8 rhel 9 and debian 11. thanks to c9ai.org

    https://c9ai.org/gpg-key-import-issue-with-update-crypto-policies/

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search