mirror of
				https://github.com/therootcompany/greenlock.js.git
				synced 2024-11-16 17:29:00 +00:00 
			
		
		
		
	use .certs instead of .pems
This commit is contained in:
		
							parent
							
								
									7c6c509313
								
							
						
					
					
						commit
						d7ea101ae9
					
				| @ -258,8 +258,10 @@ module.exports.create = function (le) { | |||||||
|               return le.acme.getCertificateAsync(certReq).then(utils.attachCertInfo); |               return le.acme.getCertificateAsync(certReq).then(utils.attachCertInfo); | ||||||
|             }); |             }); | ||||||
|           }).then(function (results) { |           }).then(function (results) { | ||||||
|             // { cert, chain, privkey }
 |             // { cert, chain, privkey /*TODO, subject, altnames, issuedAt, expiresAt */ }
 | ||||||
| 
 | 
 | ||||||
|  |             args.certs = results; | ||||||
|  |             // args.pems is deprecated
 | ||||||
|             args.pems = results; |             args.pems = results; | ||||||
|             return le.store.certificates.setAsync(args).then(function () { |             return le.store.certificates.setAsync(args).then(function () { | ||||||
|               return results; |               return results; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user