Skip to content

remove skipping of certificate update in GenericCertificateResolver - #988

Merged
FlorentinDUBOIS merged 1 commit into
mainfrom
fix-issue-774
Sep 12, 2023
Merged

FlorentinDUBOIS merged 1 commit into
mainfrom
fix-issue-774

Conversation

@Keksoj

@Keksoj Keksoj commented Sep 11, 2023

Copy link
Copy Markdown

As pointed out by @justinkb, @newdev8 and others in this issue: #774 , those lines in the add_certificate method of the GenericCertificateResolver prevent persisting several subdomains:

        // We do not need to update the entry, if the certificate is already registered
        if self.get_certificate(&fingerprint).is_some() {
            return Ok(fingerprint);
        }

Removing these lines do not break any test, as the CI on this Pull Request should prove, and according to @justinkb, does solve the issue.

The best would be to have an e2e test for this behaviour with several subdomains. What do you think @Wonshtrum ?

@FlorentinDUBOIS
FlorentinDUBOIS merged commit bf7b492 into main Sep 12, 2023
@FlorentinDUBOIS
FlorentinDUBOIS deleted the fix-issue-774 branch September 12, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants