hypweb.net
XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

TOP » UsersWiki » nao-pon » blog » Diff of nao-pon/blog/2015-03-05
1: 2015-03-05 (Thu) 17:59:07 nao-pon source
With "attach" plugin. (Created empty)
Cur: 2015-03-05 (Thu) 18:02:06 nao-pon source
Line 1: Line 1:
 +#navi
 +RIGHT:&rsslink(../);
 +#boxdate
 +* copy.com の API にアクセスするライブラリで curl が使う ca.crt を作成した [#w1eefbf7]
 +RIGHT:&tag(elFinder,ca.crt,Copy.com);
 +
 +&ref(elFinder-copy[dot]com.png,mw:480,mh:360,center);
 +
 +** 必要な証明書を調べる。 [#kf7c6977]
 +
 + openssl s_client -connect api.copy.com:443 -showcerts
 +
 +#pre{{
 +CONNECTED(00000003)
 +depth=1 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert SHA2 High Assurance Server CA
 +verify error:num=20:unable to get local issuer certificate
 +verify return:0
 +---
 +Certificate chain
 + 0 s:/C=US/ST=California/L=Campbell/O=Barracuda Networks, Inc./CN=*.copy.com
 +   i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
 +-----BEGIN CERTIFICATE-----
 +(略)
 +-----END CERTIFICATE-----
 + 1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
 +   i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
 +-----BEGIN CERTIFICATE-----
 +(略)
 +-----END CERTIFICATE-----
 +---
 +Server certificate
 +subject=/C=US/ST=California/L=Campbell/O=Barracuda Networks, Inc./CN=*.copy.com
 +issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
 +---
 +...
 +}}
 +
 +DigiCert High Assurance EV Root CA と DigiCert SHA2 High Assurance Server CA が必要とのこと。
 +
 +** DigiCert のウェブサイトから証明書をダウンロード [#t562db3f]
 +
 +- https://www.digicert.com/digicert-root-certificates.htm
 +-- http://cacerts.digicert.com/DigiCertHighAssuranceEVRootCA.crt
 +-- http://cacerts.digicert.com/DigiCertSHA2HighAssuranceServerCA.crt
 +
 +** 符号化されている crt ファイルをテキスト化 [#y8c27975]
 +
 + openssl x509 -inform DES -in DigiCertHighAssuranceEVRootCA.crt -out DigiCertHighAssuranceEVRootCA.crt -text
 + openssl x509 -inform DES -in DigiCertSHA2HighAssuranceServerCA.crt -out DigiCertSHA2HighAssuranceServerCA.crt -text
 +
 +で、2つを合体!
 +
 +#pre{{
 +DigiCertHighAssuranceEVRootCA
 +=============================
 +-----BEGIN CERTIFICATE-----
 +MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs
 +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
 +d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
 +ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL
 +MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3
 +LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug
 +RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm
 ++9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW
 +PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM
 +xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB
 +Ik5lYYeBQVCmeVyJ3hlK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LYBq8I4g4Xmk/gNH
 +E+r1hspZcX30BJZr01lYPf7TMSVcGDiEo+afgv2MW5gxTs14nhr9hctJqvIni5ly
 +/D6q1UEL2tU2ob8cbkdJf17ZSHwD2f2LSaCYJkJA69aSEaRkCldUxPUd1gJea6zu
 +xICaEnL6VpPX/78whQYwvwt/Tv9XBZ0k7YXDK/umdaisLRbvfXknsuvCnQsH6qqF
 +0wGjIChBWUMo0oHjqvbsezt3tkBigAVBRQHvFwY+3sAzm2fTYS5yh+Rp/BIAV0Ae
 +cPUeybQ=
 +-----END CERTIFICATE-----
 +}}
 +
 +完了!めでたしめでたし。
 +
 +
 +RIGHT:&font(90%){&page_comments;};
 +#navi


Front page   Diff Backup Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 50, today: 1, yesterday: 1
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
最近の更新
オンライン状況
36 人のユーザが現在オンラインです。 (1 人のユーザが UsersWiki を参照しています。)

登録ユーザ: 0
ゲスト: 36

もっと...
サイト情報