Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
### [apple store, appstore]
# キーと公開鍵認証リクエストを作成
$ openssl req -newkey rsa:2048 -out server.csr -keyout server.pem -days 365 -subj '/ NAME/C=JP' -batch -nodes
# キーのインポート
$ security import kaigi.pem
$ mv ~/Downloads/ios_distribution.cer kaigi.cer
$ openssl x509 -in kaigi.cer -inform DER -out -outform pem
$ security import
$ echo openssl pkcs12 -export -in -inkey kaigi.pem -password pass:$(pwgen -n 12 1) | tee /dev/stderr | sh > kaigi.p12
$ security import kaigi.p12
# キーチェーン > システム > 証明書 > 公開鍵 > 秘密鍵(クリック) > アクセス制御 > この項目の使用を全てのアプリケーションに許可をチェック
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.