Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create certificate failed in SBS2012 (all authorization result: valid) #741

Closed
Mangaard opened this issue Feb 10, 2018 · 7 comments
Closed

Comments

@Mangaard
Copy link

Mangaard commented Feb 10, 2018

Issue description

Create certificate failed
But following Files could be found in "C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org" :
1,4,5,6,7-chain.pem
1,4,5,6,7-crt.der
1,4,5,6,7-crt.pem
ca-1,4,5,6,7-crt.der
ca-1,4,5,6,7-crt.pem
1,4,5,6,7-csr.pem
1,4,5,6,7-gen-csr.json
1,4,5,6,7-gen-key.json
1,4,5,6,7-key.pem

Steps to reproduce

PS C:\Windows\system32> C:\Users\Public\Downloads\letsencrypt-win-simple.v1.9.8.4\letsencrypt.exe
[DBUG] Options: Options {BaseUri="https://acme-v01.api.letsencrypt.org/", Test=False, Verbose=False, Renew=False, ForceRenewal=False, Plugin=null, SiteId=null,
ExcludeBindings=null, HideHttps=False, ManualHost=null, ManualTargetIsIIS=False, Validation=null, ValidationMode="http-01", WebRoot=null, ValidationSiteId=null
, Warmup=False, UserName=null, Password=null, AzureTenantId=null, AzureClientId=null, AzureSecret=null, AzureSubscriptionId=null, AzureResourceGroupName=null, D
nsCreateScript=null, DnsDeleteScript=null, KeepExisting=False, CentralSslStore=null, CertificateStore=null, Installation=[], InstallationSiteId=null, SSLPort=44
3, Script=null, ScriptParameters=null, CloseOnFinish=False, NoTaskScheduler=False, UseDefaultTaskUser=False, Cancel=False, AcceptTos=False, EmailAddress=null}
[DBUG] Config folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org

[INFO] Let's Encrypt Windows Simple (LEWS)
[INFO] Software version 198.4.6605.15190 (RELEASE)
[INFO] IIS version 7.5
[INFO] ACME Server https://acme-v01.api.letsencrypt.org/
[INFO] Please report issues at https://github.com/Lone-Coder/letsencrypt-win-simple

[DBUG] Renewal period: 55

N: Create new certificate
M: Create new certificate with advanced options
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
V: Revoke certificate
C: Cancel scheduled renewal
X: Cancel all scheduled renewals
Q: Quit

Please choose from the menu: m

[INFO] Running in Advanced mode

1: Single binding of an IIS site
2: SAN certificate for all bindings of an IIS site
3: SAN certificate for all bindings of multiple IIS sites
4: Manually input host names
C: Cancel

Which kind of certificate would you like to create?: 3

[DBUG] Scanning IIS sites
[INFO] No valid hosts found for SBS SharePoint.
[INFO] No valid hosts found for SharePoint Central Administration v4.
[INFO] No valid hosts found for SharePoint Web Services.
[INFO] No valid hosts found for WSUS-Verwaltung.

1312694709: Companyweb (1 bindings) [@C:\inetpub\wwwroot\wss\VirtualDirectories\Companyweb80]
1: Default Web Site (4 bindings) [@C:\inetpub\wwwroot]
7: Mangaard.de (1 bindings) [@C:\Web-Hosting\www.mangaard.de]
2: SBS Client Deployment Applications (2 bindings) [@C:\Program Files\Windows Small Business Server\Bin\webapp\ClientDeployment]
6: www.magneticpower.de (3 bindings) [@C:\Web-Hosting\www.magneticpower.de]
4: www.Mangaard.ch (3 bindings) [@C:\Web-Hosting\www.Mangaard.ch]
5: www.Mangaard-Physio.de (3 bindings) [@C:\Web-Hosting\www.Mangaard-Physio.de]

Enter a comma separated list of site IDs, or 'S' to run for all sites: 1,4,5,6,7

Press enter to include all listed hosts, or type a comma-separated lists of exclusions:

[INFO] Plugin IISSites generated target [IISSites] 1,4,5,6,7 [14 bindings - mangaard-informatik.de, ...]

1: [dns-01] Azure DNS
2: [dns-01] Run external program/script to create and update records
3: [http-01] Create temporary application in IIS
4: [http-01] Save file on local (network) path
5: [http-01] Upload verification file to FTP(S) server
6: [http-01] Self-host verification files (recommended)
7: [http-01] Upload verification file to WebDav path
C: Cancel

How would you like to validate this certificate?: 6

1: Create or update IIS bindings
2: Run external script
3: Do not run any installation steps
C: Cancel

Which installer should run for the certificate?: 3

[DBUG] Scanning IIS sites
[DBUG] Loading signer from C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Signer
[DBUG] Getting AcmeServerDirectory
[DBUG] Send GET request to https://acme-v01.api.letsencrypt.org/directory
[DBUG] Loading registration from C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Registration
[INFO] Authorize identifier: mangaard-informatik.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: www.mangaard-informatik.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: remote.mangaard-informatik.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: mail.mangaard-informatik.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: mangaard.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: www.magneticpower.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: magneticpower.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: mail.magneticpower.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: www.mangaard.ch
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: mangaard.ch
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: mail.mangaard.ch
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: www.mangaard-physio.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: mangaard-physio.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: mail.mangaard-physio.de
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[DBUG] Certificate folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org
[DBUG] Certificate store: My
[DBUG] RSAKeyBits: 2048
[INFO] Requesting certificate 1,4,5,6,7 2018.2.10 5:41:52
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-cert
[INFO] Saving certificate to C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org
[EROR] Create certificate failed

N: Create new certificate
M: Create new certificate with advanced options
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
V: Revoke certificate
C: Cancel scheduled renewal
X: Cancel all scheduled renewals
Q: Quit

Please choose from the menu:

Client version: letsencrypt-win-simple.v1.9.8.4
Windows version: Small Business Server 2011 Standard
Relevant part of log file:

what am I dooing wrong?

Using the Client "Certify The Web" I get all the Certificates installed, but this is not useable in IIS 7.5 - he I Need a SAN Certificate.

@WouterTinus
Copy link
Member

Looking at the source code and your log, this seems to fail during the conversion of the private key to the Microsoft RSA SChannel Cryptographic Provider, which may not be installed or disabled on your system. We might be able to diagnose that with more certainty if you post a log with --verbose.

I haven't encountered this problem before, but I'll make sure to add better error handling and a fallback to the default provider in the next release of LEWS. Thanks for reporting this bug!

@Mangaard
Copy link
Author

Mangaard commented Feb 11, 2018

Thanks for the answer,
"Microsoft RSA SChannel Cryptographic Provider" is installed and enabled - see copy of Result in Powershell:
PS C:\Users\Public\Downloads\letsencrypt-win-simple.v1.9.8.4\scripts> Get-CSP

Name Type


Microsoft Base Cryptographic Provider v1.0 RSA Full (Signature and Key Exchange)
Microsoft Base DSS and Diffie-Hellman Cryptographic Provider DSS Signature with Diffie-Hellman Key Exchange
Microsoft Base DSS Cryptographic Provider DSS Signature
Microsoft Base Smart Card Crypto Provider RSA Full (Signature and Key Exchange)
Microsoft DH SChannel Cryptographic Provider Diffie-Hellman SChannel
Microsoft Enhanced Cryptographic Provider v1.0 RSA Full (Signature and Key Exchange)
Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider DSS Signature with Diffie-Hellman Key Exchange
Microsoft Enhanced RSA and AES Cryptographic Provider RSA Full and AES
Microsoft RSA SChannel Cryptographic Provider RSA SChannel
Microsoft Strong Cryptographic Provider RSA Full (Signature and Key Exchange)

Maybee Process is interferred throuh installed Certsrv.
## certutil -getconfig
Konfiguration: "MNG-SBS2012.mib.local\mib-MNG-SBS2012-CA"

Log with --verbose
PS C:\Windows\system32> C:\Users\Public\Downloads\letsencrypt-win-simple.v1.9.8.4\letsencrypt.exe --test --verbose
[DBUG] Options: Options {BaseUri="https://acme-v01.api.letsencrypt.org/", Test=True, Verbose=True, Renew=False, ForceRenewal=False, Plugin=null, SiteId=null, ExcludeBindings=null, HideHttps=False, ManualHost=null,
ManualTargetIsIIS=False, Validation=null, ValidationMode="http-01", WebRoot=null, ValidationSiteId=null, Warmup=False, UserName=null, Password=null, AzureTenantId=null, AzureClientId=null, AzureSecret=null, AzureSub
scriptionId=null, AzureResourceGroupName=null, DnsCreateScript=null, DnsDeleteScript=null, KeepExisting=False, CentralSslStore=null, CertificateStore=null, Installation=[], InstallationSiteId=null, SSLPort=443, Scri
pt=null, ScriptParameters=null, CloseOnFinish=False, NoTaskScheduler=False, UseDefaultTaskUser=False, Cancel=False, AcceptTos=False, EmailAddress=null}
[DBUG] Test parameter set: https://acme-staging.api.letsencrypt.org/
[DBUG] Config folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-staging.api.letsencrypt.org

[INFO] Let's Encrypt Windows Simple (LEWS)
[INFO] Software version 198.4.6605.15190 (RELEASE)
[INFO] IIS version 7.5
[INFO] ACME Server https://acme-staging.api.letsencrypt.org/
[INFO] Please report issues at https://github.com/Lone-Coder/letsencrypt-win-simple

[DBUG] Renewal period: 55

N: Create new certificate
M: Create new certificate with advanced options
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
V: Revoke certificate
C: Cancel scheduled renewal
X: Cancel all scheduled renewals
Q: Quit

Please choose from the menu: n

[INFO] Running in Simple mode

1: Single binding of an IIS site
2: SAN certificate for all bindings of an IIS site
3: SAN certificate for all bindings of multiple IIS sites
4: Manually input host names
C: Cancel

Which kind of certificate would you like to create?: 3

[DBUG] Scanning IIS sites
[INFO] No valid hosts found for SBS SharePoint.
[INFO] No valid hosts found for SharePoint Central Administration v4.
[INFO] No valid hosts found for SharePoint Web Services.
[INFO] No valid hosts found for WSUS-Verwaltung.

1312694709: Companyweb (1 bindings) [@C:\inetpub\wwwroot\wss\VirtualDirectories\Companyweb80]
1: Default Web Site (4 bindings) [@C:\inetpub\wwwroot]
7: Mangaard.de (1 bindings) [@C:\Web-Hosting\www.mangaard.de]
2: SBS Client Deployment Applications (2 bindings) [@C:\Program Files\Windows Small Business Server\Bin\webapp\ClientDeployment]
6: www.magneticpower.de (3 bindings) [@C:\Web-Hosting\www.magneticpower.de]
4: www.Mangaard.ch (3 bindings) [@C:\Web-Hosting\www.Mangaard.ch]
5: www.Mangaard-Physio.de (3 bindings) [@C:\Web-Hosting\www.Mangaard-Physio.de]

Enter a comma separated list of site IDs, or 'S' to run for all sites: 1,4,5,6,7

Press enter to include all listed hosts, or type a comma-separated lists of exclusions:

[INFO] Plugin IISSites generated target [IISSites] 1,4,5,6,7 [14 bindings - mangaard-informatik.de, ...]
[DBUG] Scanning IIS sites
[DBUG] Loading signer from C:\ProgramData\letsencrypt-win-simple\httpsacme-staging.api.letsencrypt.org\Signer
[DBUG] Getting AcmeServerDirectory
[DBUG] Send GET request to https://acme-staging.api.letsencrypt.org/directory
[DBUG] Loading registration from C:\ProgramData\letsencrypt-win-simple\httpsacme-staging.api.letsencrypt.org\Registration
[INFO] Authorize identifier: mangaard-informatik.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mangaard-informatik.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mangaard-informatik.de/.well-known/acme-challenge/h-rYk4Fg5TA8odc9MNitk8CtHfequNX0t4wC--JQN_Q

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/spkhOH-HsMUPVVqJFkSdrkkyl_RIed5WjBXICCz2E5E/92207937
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: www.mangaard-informatik.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing www.mangaard-informatik.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://www.mangaard-informatik.de/.well-known/acme-challenge/ueoxUUGYUpUqR7KZGJDXcM1yShAd3D6W_1cXhXI-0k8

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/EWX6mxP3HfX6-oFKwATNMENW8ZKjEHD3mcCzYclRtQQ/92208029
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: remote.mangaard-informatik.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing remote.mangaard-informatik.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://remote.mangaard-informatik.de/.well-known/acme-challenge/qCIEdevn_JbzreHr26s_kCLBgycoAYhAuPv1zXcb4KI

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/OPWcHTzD7qZ4OlaF4yYvx2R8KnWvUxI7SaZpbZTIVUc/92208924
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: mail.mangaard-informatik.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mail.mangaard-informatik.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mail.mangaard-informatik.de/.well-known/acme-challenge/0kflFUAv9CGRFQfqZs8mF7DoHSXlxqAm-uJyCywnDqU

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/vQq51Ccz7aJIUK_CaBIjfl3il86nX_xE7DB3kirW1Bc/92209054
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: mangaard.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mangaard.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mangaard.de/.well-known/acme-challenge/q8gkqNnM7tXxcmP6bplhyjO6VMYVsWOqFWHDlrlTxt8

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/3C7q3c74DlkuUcPoMgEIiOgqp288Nq9vhABoFQpb8B8/98124681
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: www.magneticpower.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing www.magneticpower.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://www.magneticpower.de/.well-known/acme-challenge/hdlFdxlkzFvwBk_a1aVHBUhHKmI2dIqCI2wMRoNjZ4c

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/lAabum5OEeEvCpHDFCuo-KbT5qcVGt6PKtPNjx6Y9R4/92209108
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: magneticpower.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing magneticpower.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://magneticpower.de/.well-known/acme-challenge/JDcr_A51x6-4Kl6_ceCphZOKnsqwdI2pCLhtTCy8c8E

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/rtzwlhTz4q-gUgJ14hmfpUfM4SCASrl2fqF6TxsrDRg/92391744
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: mail.magneticpower.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mail.magneticpower.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mail.magneticpower.de/.well-known/acme-challenge/MQaj2rcr8QICYqt7hDcVYs-V8z0RDN4Q8Se8-bHTbDE

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/OlnVSRbCOsWfJetfmB2nm3iKDbVJXGlOu2gnlzqeRsM/92391784
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: www.mangaard.ch
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing www.mangaard.ch using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://www.mangaard.ch/.well-known/acme-challenge/VYgj-T5NQgJ3xYWNKVBvFhDwwfXJ3lorzfkd8hDB_6c

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/z19g4ZgriBA-MxmfYpY2rs6o-qyd3llbcR_EnCsWeuE/92209150
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: mangaard.ch
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mangaard.ch using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mangaard.ch/.well-known/acme-challenge/IWV3qamjuMUxe5Ctu2ntVmmVhuZzPIbhVLIssUkalBY

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/vxeJUSwMsIx-Pmzns7-96fOYk9SMdGiA0XM6gNRtwXw/92391569
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: mail.mangaard.ch
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mail.mangaard.ch using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mail.mangaard.ch/.well-known/acme-challenge/WvGFkdJDEn_ci8iMhUHy0yM2xyUSOqL77_GLGeegcXc

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/-5wPZxRODAhoSZbRDC5dLTZi7B1Ciw-ozOj8744F2s8/92391602
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: www.mangaard-physio.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing www.mangaard-physio.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://www.mangaard-physio.de/.well-known/acme-challenge/UGgL_AwyJWgiWTLTQQFpB5j8hbvXCEwrj5S8NEMz9HA

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/_u8y6AzVLY0EoV5iNsqJJZDGmGXoGEcpaj0C4zNaP9E/92209191
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: mangaard-physio.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mangaard-physio.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mangaard-physio.de/.well-known/acme-challenge/f4aUk-1bHt01nGLHFYYwZvxJnMr9d75bbs0SsFAXqjg

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/subV1_lpPgtts8i35g1Sk6S2FQgBs-QYrhVfIP33yCg/92209214
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[INFO] Authorize identifier: mail.mangaard-physio.de
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[INFO] Authorizing mail.mangaard-physio.de using http-01 validation (SelfHosting)
[DBUG] Writing web.config
[INFO] Answer should now be browsable at http://mail.mangaard-physio.de/.well-known/acme-challenge/xoAQumc7sdr_pa5lS9UT4DYbXwqM3y9mVHJpNHuA-dk

[--test] Try in default browser? (y/n): - yes

Press enter to continue... [DBUG] Submitting answer
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/challenge/XU6dN-UA1CfWoCCHYWGMNk3Tfbqk_1DqtFRkNavipc4/92209262
[INFO] Authorization result: valid
[DBUG] Deleting web.config
[DBUG] Deleting answer
[DBUG] Certificate folder: C:\ProgramData\letsencrypt-win-simple\httpsacme-staging.api.letsencrypt.org
[DBUG] Certificate store: My
[DBUG] RSAKeyBits: 2048
[INFO] Requesting certificate 1,4,5,6,7 2018.2.11 4:15:23
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-cert
[INFO] Saving certificate to C:\ProgramData\letsencrypt-win-simple\httpsacme-staging.api.letsencrypt.org
[EROR] Create certificate failed

N: Create new certificate
M: Create new certificate with advanced options
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
V: Revoke certificate
C: Cancel scheduled renewal
X: Cancel all scheduled renewals
Q: Quit

Please choose from the menu:

@WouterTinus
Copy link
Member

This is odd, the logger seems to be acting up. I don't see any of the [VERB] messages in your log. Also it shows a debug message which I don't see in my builds.

Would you mind trying this build to see if it gives you a proper error message?

letsencrypt.zip

@Mangaard
Copy link
Author

Mangaard commented Feb 13, 2018 via email

@WouterTinus
Copy link
Member

So the error is where I expected it to be, but at least it's handled with a warning now, instead of it being fatal. I recommend you to use that build until the next official release comes out.

@lonesomewalker
Copy link

lonesomewalker commented Feb 18, 2018

First of all i would check if it is SBS2012 OR SBS2011...
The issuer ignored the warnings that .net framework 4.6.1 is NOT supported on a SBS an breaks many other stuff.
(and according to his mail signature, he seems to be a neighbor :-P )

So i suggest it's not a bug in win-acme... seems like PEBKAC.

@WouterTinus
Copy link
Member

The error is warned about but no longer fatal in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants