Using Keys and Certificates

Using Keys and Certificates

3月 9, 2022 · 1 分钟阅读时长 · 78 字 · -阅读 -评论

OpenSSL

# 版本信息
$ openssl version -a

# 性能测试
$ openssl speed

PEM Basics

-----BEGIN <whatever>----- 
data
 -----END <whatever>----
  • Stores certificates or private keys.

  • Each line is 64 characters.

  • PEM is Base64-encoded DER.

    PEM or Privacy Enhanced Mail is a Base64 encoded DER certificate.

  • DER/CER are binary encodings (cer typically omits the private key).

  • The first 32 characters of a PEM file are cosmetic; they don’t affect usage.

Alan H
Authors
开发者,数码产品爱好者,喜欢折腾,喜欢分享,喜欢开源