LoginSignup
4
4

More than 5 years have passed since last update.

AzureのManagement Certificates(管理証明書)をopensslコマンドで作る

Last updated at Posted at 2015-03-11

公式だとWindowsでVisual Studioを使って作る方法しか見つからず、opensslの例も海外のブログみたいなので見つけたりしたものの、情報が古いのか上手く行かなかった。

試行錯誤の末通ったのがコチラ

openssl req -x509 -nodes -newkey rsa:2048 -keyout ~/.ssh/azure.pem -out ~/.ssh/azure.pem
openssl x509 -inform pem -in ~/.ssh/azure.pem -outform der -out ~/.ssh/azure.cer

二行目でできあがるazure.cer設定管理証明書からアップロードしてあげればOK。

-outform derの辺りが今まで全く馴染みがなくてちょっとハマった…

4
4
0

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
4
4