Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Update certificate info (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwu16 authored and Xiande committed Jun 13, 2019
1 parent a726def commit 21f1765
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 51 deletions.
40 changes: 20 additions & 20 deletions cert/cert.pem
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDsTCCApmgAwIBAgIJALMFwTLcq7tgMA0GCSqGSIb3DQEBCwUAMG8xCzAJBgNV
BAYTAkNOMREwDwYDVQQIDAhTaGFuZ2hhaTERMA8GA1UEBwwIU2hhbmdoYWkxDjAM
BgNVBAoMBUludGVsMQ8wDQYDVQQLDAZXZWJSVEMxGTAXBgNVBAMMEHdlYnJ0Yy5p
bnRlbC5jb20wHhcNMTkwMzIxMDU1MjE2WhcNMTkxMDMxMDU1MjE2WjBvMQswCQYD
VQQGEwJDTjERMA8GA1UECAwIU2hhbmdoYWkxETAPBgNVBAcMCFNoYW5naGFpMQ4w
DAYDVQQKDAVJbnRlbDEPMA0GA1UECwwGV2ViUlRDMRkwFwYDVQQDDBB3ZWJydGMu
aW50ZWwuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArUAcJJb/
zKITWTWtWw6PHjMJFqdoISoK0qI6XkwaYuZREeG336RW36UjBAvhIUScsB/VuuRR
75KCfLFJG3SsOAfogSY9lGbqfGdZGhPPmgN/g5CjMHepanbWdjFi2owG1793jqKA
C1Caa7nTT8VcLf1fzaR8RWKBQH0wMZlXWj8Ym6xZ5z9wd4ejvqWnI2JoPHpUhIfa
fZMV/bISNe5uOKaZ1gOzItLpkxZIHygLkQnLzuWaYIweAR0OkYsx5ukvhGpk5POB
FgIUP1uf4g8QYsXY3LmJ4SpNP9zfZ61H+cfNyrPLuoPMW/zTuhebpHBX3a88H020
XNeDDPIXnOmgXwIDAQABo1AwTjAdBgNVHQ4EFgQ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BsRREg115VotE+GL9Wdhoeese5KQqFjvd8nIK8Iw3lz2XiBW
6ztLuplzoHSxDv8KGdOTj4vLtw5r3NrWkcYVxo4aX9bHBqvvWff+SiEOlM0gV13F
ftpmSF6Nc1O8iWtT3jknpIaJbrD6/l0WbvHWq3Ba8lfOh4xAULGPA+28yk3Vcv70
AOLU16m0S8nvz3Z7LOUCAwEAAaNQME4wHQYDVR0OBBYEFF2lixygUhC0walk+yF5
4lNBwyuMMB8GA1UdIwQYMBaAFF2lixygUhC0walk+yF54lNBwyuMMAwGA1UdEwQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHEQZPnHHeH/eLBeGTO2d7F9L3vjijyh
QKgbQA5d8w5GyxJFheXkqhzU+bOtD1sRYZV0SWUbttj9QvGytvRuJ30FOoVywJnz
hLrqXHMudf1YTJxs4Tl7Se6Hy8yPIsAtVhwysahx7cveYcWj+on+Z9vKVSlalMpF
+GQE/7KhXm2FvtDWK/aCrf9tTsjATSmxOxP24W2r9+dv2T3w+TOde3OPLWh4V7VY
ZrMY4fJ+4L84sgQ/RbHgNJjYnS16/ubMbecJAF1fQdzwzxOMMIeGYiULYSCNcoGD
FGAlYXERGi25bN82IDJ1DOZvY1BD5rIZOm8T4Gwf3VUnnVMHRwnIpM4=
-----END CERTIFICATE-----
Binary file modified cert/certificate.pfx
Binary file not shown.
56 changes: 28 additions & 28 deletions cert/key.pem
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFDjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQI1i13fJocfGICAggA
MBQGCCqGSIb3DQMHBAimQ/y2GCLl2QSCBMiB85ncNqoeRbieFqw4dECwI3PslET2
NBmfzVKKX30q7958OahUeVwZchDF9vJjMXQ2+CU/X2kBVkpiR32C9HeoyeQeibrN
QgJAu07MdZZNEvu6PyLNc1pSMjCAigEShUN0pBcezZ9ftAk+cWEM1urFbTtEBC3d
17G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cw/sOn1emSN3JlluNqc9yJhdDlPvcujay8cgE0YK5P6q
KF0=
-----END ENCRYPTED PRIVATE KEY-----
6 changes: 3 additions & 3 deletions scripts/keyutil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ fi

selfsignPEM() {
${OPENSSL_BIN} req -x509 -newkey rsa:2048 -keyout ${OUT_DIR}/key.pem -out ${OUT_DIR}/cert.pem \
-subj "/C=CN/ST=Shanghai/L=Shanghai/O=Intel/OU=WebRTC/CN=webrtc.intel.com" \
-days 90
-subj "/C=CN/ST=Shanghai/L=Shanghai/O=owt-demo/OU=owt/CN=owt-demo.localhost" \
-days 145
}

mergePEM() {
${OPENSSL_BIN} pkcs12 -export -out ${OUT_DIR}/certificate.pfx -inkey ${OUT_DIR}/key.pem -in ${OUT_DIR}/cert.pem
}

selfsignPEM
mergePEM
mergePEM

0 comments on commit 21f1765

Please sign in to comment.