摘要: openssl x509 -in cert.pem -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 或者参见https://datatrack 阅读全文
posted @ 2023-02-17 14:22 yinyue200 阅读(18) 评论(0) 推荐(0) 编辑
摘要: PowerShell 允许在管道中包含本机外部命令。 但是,请务必注意,PowerShell 的管道面向对象,不支持原始字节数据。 管道或重定向输出原始字节数据的本机程序的输出会将输出转换为 .NET 字符串。 此转换可能会导致原始数据输出损坏。 解决方法是使用 cmd.exe /c 或 sh -c 阅读全文
posted @ 2023-02-17 14:09 yinyue200 阅读(26) 评论(0) 推荐(0) 编辑
知识共享许可协议
本博客原创内容默认采用知识共享署名 4.0 国际许可协议进行许可。