当前位置:网站首页>Use keytool to access the JKS file get SSL certificate
Use keytool to access the JKS file get SSL certificate
2022-06-22 05:08:00 【Flying goose treads the snow Ben returns】
In the test environment ,Hive DB Set up in Ambari In a unified management environment ,Knox Provide gateway function .
One day ,Knox Service startup failed , see log An error is as follows :
2022-06-08 20:40:07,992 INFO knox.gateway (JettySSLService.java:logAndValidateCertificate(112)) - The Gateway SSL certificate is issued to hostname: server.test.com.
2022-06-08 20:40:07,993 INFO knox.gateway (JettySSLService.java:logAndValidateCertificate(115)) - The Gateway SSL certificate is valid between: 6/4/21 8:53 AM and 6/4/22 8:53 AM.
2022-06-08 20:40:07,998 FATAL knox.gateway (GatewayServer.java:main(175)) - Failed to start gateway: org.apache.knox.gateway.services.ServiceLifecycleException: Gateway SSL Certificate is Expired. Server will not start.SSL certificate Out of date , This problem Google A solution can be found at once . Refer to this article for details IBM technote.
[[email protected] ~]# ll /var/lib/knox/data*/security/keystores/gateway.jks
-rw-r--r-- 1 knox knox 1379 Jun 4 2021 /var/lib/knox/data-3.1.5.0-152/security/keystores/gateway.jks
[[email protected] ~]# mv /var/lib/knox/data*/security/keystores/gateway.jks /tmp/gateway.jksAnd then restart Knox Services and Knox Inside LDAP The service automatically generates new certificate 了 ,Knox Successful startup .
however , When client Connect the end Hive DB Words , Need to use new SSL certificate. Here you can use the following command to start from gateway.jks File read SSL certificate.
keytool -list -rfc -keystore gateway.jks
边栏推荐
- Gavin's perception of transformer live class - NLU and policies data decryption, source code analysis and practice of insurance BOT in the insurance industry of Rasa dialogue robot project (57)
- IDP depth | what kind of data analysis and mining tools do enterprises need?
- 9. Gateway cross domain processing
- mysql day02课堂笔记
- MySQL notes
- restframework读取和非读取序列处理
- Common knowledge arrangement of numpy database
- Restframework read and non read sequence processing
- How to deal with too small picture downloaded from xuexin.com
- Ora-15063: ASM discovered an insufficient number of disks for diskgroup
猜你喜欢

The application of RPC technology and its framework sekiro in crawler reverse, encrypting data is a shuttle!

flink部署模式总结

VirtualBox 6.1.34 发布

加快推进工业互联网,图扑“智”绘发展新蓝图
![[fault diagnosis] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace B](/img/f3/86bc79d7b2fb0a7f5ab77d5bbbeb18.png)
[fault diagnosis] CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace B

Concurrent programming - thread pool
![[scientific research notes] focal loss](/img/ca/4a30fd925b87ed2baa2523d8dbf59d.png)
[scientific research notes] focal loss

laravel的服务容器,服务提供者,门面的理解

Remote Dictionary Server(Redis)——基于 KV 结构的作为 Cache 使用的 NoSQL 数据库管理系统

9 practical shell scripts, recommended collection!
随机推荐
Go learning (II. Built in container)
[sdx62] IPA log fetching instructions
zipimport.ZipImportError:
Flink deployment mode (II) - three deployment modes of yarn
[fault diagnosis] the picture cut code cannot be cut out, slide read_ Region does not run, but the program does not report an error
【故障诊断】切图代码切不出来,slide.read_region不运行,但程序不报错
Accelerate the promotion of industrial Internet, and map out a new blueprint for development
C语言字符串的一些使用注意事项
Slurm tutorial
Concurrent programming - thread pool
mysql day02课堂笔记
Go learning (I. Basic Grammar)
汉诺塔问题
C语言概念知识扫盲(不定期补充更新)
lua笔记
yarn部署模式依赖预上传设置
VirtualBox 6.1.34 发布
It is easy to analyze and improve R & D efficiency by understanding these five figures
IDP depth | what kind of data analysis and mining tools do enterprises need?
Geographic location type of redis