LoginSignup
1

More than 5 years have passed since last update.

opensslでpem作ろうとしたらCan't read Password(iTerm2にて)

Posted at

ひさしぶりにhoustonからプッシュ通知を送ろうとしてpem作りで微妙にハマったのでメモ。

プッシュ通知を送るためにp12形式のAppleの証明書をpemに変換する手順が必要なのですが、houstonのReadmeどおりのコマンド打つと下記の通り。

$ openssl pkcs12 -in cert.p12 -out apple_push_notification.pem -nodes -clcerts
Enter Import Password:
Can't read Password

パスワードの有無も関係ないし、証明書作り直しても変わりありませんでした。

よくわからんのですが「iTerm2」にて作業してたのを「Terminal」に変えて同じコマンド打ったらうまくいきました。なんだろう・・・

これと関連あり?
https://gitlab.com/gnachman/iterm2/issues/5125

環境

OS X El Capitan : Version 10.11.6
iTerm : Build 3.0.13
Terminal : Version 2.6.1
OpenSSL : 1.0.2h

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1