win-acme / win-acme

A simple ACME client for Windows (for use with Let's Encrypt et al.)
https://www.win-acme.com/
Apache License 2.0
5.29k stars 816 forks source link

Error saving certificate #1940

Closed peter0530 closed 3 years ago

peter0530 commented 3 years ago

To Reproduce

  1. Run with command line
  2. Pick menu options N, 8, Enter, Enter
  3. See error

Log 2021-09-30 23:13:29.281 +08:00 [INF] No command line arguments provided 2021-09-30 23:13:29.379 +08:00 [INF] Software version 2.1.18.1119 (release, trimmed, standalone, 64-bit) started 2021-09-30 23:13:29.381 +08:00 [INF] Connecting to "https://acme-v02.api.letsencrypt.org/"... 2021-09-30 23:13:30.225 +08:00 [WRN] Scheduled task not configured yet 2021-09-30 23:13:30.225 +08:00 [INF] Please report issues at https://github.com/win-acme/win-acme 2021-09-30 23:13:37.757 +08:00 [INF] No command line arguments provided 2021-09-30 23:13:37.856 +08:00 [INF] Software version 2.1.18.1119 (release, trimmed, standalone, 64-bit) started 2021-09-30 23:13:37.857 +08:00 [INF] Connecting to "https://acme-v02.api.letsencrypt.org/"... 2021-09-30 23:13:38.712 +08:00 [WRN] Scheduled task not configured yet 2021-09-30 23:13:38.713 +08:00 [INF] Please report issues at https://github.com/win-acme/win-acme 2021-09-30 23:13:41.043 +08:00 [INF] Running in mode: "Interactive, Simple" 2021-09-30 23:13:59.586 +08:00 [INF] Source generated using plugin IIS: phone.XXXX.com 2021-09-30 23:14:23.757 +08:00 [INF] [phone.XXXX.com] Authorizing... 2021-09-30 23:14:23.758 +08:00 [INF] [phone.XXXX.com] Authorizing using http-01 validation (SelfHosting) 2021-09-30 23:14:29.318 +08:00 [INF] [phone.XXXX.com] Authorization result: valid 2021-09-30 23:14:37.131 +08:00 [INF] Requesting certificate [IIS] WebPhone, (any host) 2021-09-30 23:14:37.784 +08:00 [INF] Store with CertificateStore... 2021-09-30 23:14:37.811 +08:00 [INF] Installing certificate in the certificate store 2021-09-30 23:14:37.815 +08:00 [INF] Adding certificate [IIS] WebPhone, (any host) @ 2021/9/30 23:14:29 to store WebHosting 2021-09-30 23:14:37.825 +08:00 [ERR] Error saving certificate 2021-09-30 23:14:37.831 +08:00 [ERR] (WindowsCryptographicException) Unable to store certificate: 拒绝访问。

Platform:

WouterTinus commented 3 years ago

Your user account doesn't have access to the store you're trying to save to. If you cannot fix that, try using a different store.