Error with many domains #1
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	
	No description provided.
		
		Delete Branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
 
			
I got this error when running greenlock.js. It seems like it only happens when registering many domains (somewhere around 20+), otherwise greenlock works fine. I use a pretty basic config with the http-01 challenge. All the domains are subdomains of the same organizational domain.
It does cause greenlock.register() to fail, but I believe the certs are actually being issued. It just never saves them config dir cache.
There should be a saved certificate in your
~/.acmedirectory.Could you send me the public certificate so that I can run the parser on it and found out how it’s different?
If it failed before the save I can send you some patch code to apply and then get the saved cert.
I'm in a windows environment and I'm not sure what you mean by ~/.acme directory. I checked the directory I have setup as my 'configDir' and I only saw the privatekey.pem.
I did jimmy with the code that threw the error and found that it did issue the cert, it just wouldn't save them if that file didn't work successfully. I tweaked it so the file wouldn't throw an error. It caused the altNames to not get pulled, but it did save the issued cert. I will send it to you.
AJ very quickly found the fix.
In /lib/asn1-parser.js Ln 22 - change from 20 to 100
Re-opening until I push the new version with the fix.