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
and
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/