阅读Kubernetes安装之证书验证 - Kubernetes中文社区 - CSDN博客 一文中,cfssljson工具有个参数-bare
。
Usage of cfssljson:-barethe response from CFSSL is not wrapped in the API standard responseCFSSL的响应没有包装在API标准响应中-f stringJSON input (default "-")-stdoutoutput the response instead of saving to a file
并不理解CFSSL的响应没有包装在API标准响应中
这个解释的含义。
查找Creating a new CSR · cloudflare/cfssl Wiki 文章
cfssl genkey csr.json | cfssljson -bare certificate
curl -X POST -H “Content-Type: application/json” -d @csr.json
127.0.0.1:8888/api/v1/cfssl/newkey | cfssljson certificate
对比一下,命令行方式执行cfssljson -bare
,curl POST方式则使用cfssljson
。
本文发布于:2024-02-03 01:01:27,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170689331147632.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |