0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

自己証明書「Microsoft Exchange Server Auth Certificate」の有効期限を10年にする

Last updated at Posted at 2023-03-19

検証中の記事です。
→(2023/04/02追記)この記事の手順で作成した証明書は自己証明書「Microsoft Exchange Server Auth Certificate」の役割を担えませんでした。

証明書のコピーを作成し、コンピューターの証明書ストアに配置する。

Exchange Server の パワーシェルで下記コマンドを実施。
「D1331388C1E3F60BCD3DC3C451E73987F73F817A」は既存証明書の拇印。

Set-Location -Path "cert:\LocalMachine\My"
PS Cert:\LocalMachine\My> $OldCert = (Get-ChildItem -Path D1331388C1E3F60BCD3DC3C451E73987F73F817A)
PS Cert:\LocalMachine\My> New-SelfSignedCertificate -CloneCert $OldCert -NotAfter (Get-Date).AddYears(10) -FriendlyName "Microsoft Exchange Server Auth Certificate"

Exchange管理センターにコピーした証明書が表示される。
SMTPサービスを割り当てる。

参考
https://pkiwithadcs.com/new_selfsignedcertificate_cmdlet/
https://learn.microsoft.com/en-us/powershell/module/pki/new-selfsignedcertificate?view=windowsserver2022-ps

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?