duangu1878 2018-10-23 12:08
浏览 156

keytool Certificacion用于API使用

I dont know alot about certification, Ive been ask to do some API usage, and I need to "attach certificate" with the request, which makes sence (I know what certificates are used for). How ever, they've added an example on their documentation. They wrote:

  • We also provide on our website in the web service’s package our server’s certificate.
  • You will need to create a keystore containing this certificate and add it in your application with the corresponding password.

They left a rough example on how its supposed to look like I assume.

keytool -import -alias xxx.web.com -file xxx.web.com.crt -keystore xxx.web.com.jks -storepass password.

How does that work, I assume I need to:

  • Generate a new certificate using theirs
  • Attach my needed password to it
  • Ship API using newly generated certificate

I'm pretty sure I am missing some bits. I've tried to play around with it, but I am not sure what my end result and whats the process of it would be.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料