These are my fixes for your PR #44 that fixes #41. Using this I was able to create, upload and configure certificate for my CloudFront distribution that didn't even use any SSL cert before. After that I've verified that on a second run the existing cert is checked for its settings and expiration time.
I didn't realize I was working in parallel with @kageurufu who submitted #56. I like his --cert-only option, but we took different approaches. I've based my PR on your topic branch and put my changes in multiple separate commits hoping it will make them easier to review.
These are my fixes for your PR #44 that fixes #41. Using this I was able to create, upload and configure certificate for my CloudFront distribution that didn't even use any SSL cert before. After that I've verified that on a second run the existing cert is checked for its settings and expiration time.
I didn't realize I was working in parallel with @kageurufu who submitted #56. I like his
--cert-only
option, but we took different approaches. I've based my PR on your topic branch and put my changes in multiple separate commits hoping it will make them easier to review.