Skip to content

(#21869) Fix recursion in cert expiration check#2090

Merged
Iristyle merged 1 commit intopuppetlabs:masterfrom
Sharpie:21869-fix-ssl-recursion
Dec 6, 2013
Merged

(#21869) Fix recursion in cert expiration check#2090
Iristyle merged 1 commit intopuppetlabs:masterfrom
Sharpie:21869-fix-ssl-recursion

Conversation

@Sharpie
Copy link
Contributor

@Sharpie Sharpie commented Nov 19, 2013

During every authenticated request, the expiration date of the involved
certificates is checked. However, if the localhost cert is loaded when the CA
cert is not present an authenticated request will be initiated to download the
CA cert. This triggers another expiration check for authenticated requests,
which loads the localhost cert, which initiates another authenticated request
to download the CA cert... and so on until stack space is exhausted.

This patch skips the expiration check for the localhost cert if the CA cert is
missing.

Redmine issue #21869

During every authenticated request, the expiration date of the involved
certificates is checked. However, if the localhost cert is loaded when the CA
cert is not present an authenticated request will be initiated to download the
CA cert. This triggers another expiration check for authenticated requests,
which loads the localhost cert, which initiates another authenticated request
to download the CA cert... and so on until stack space is exhausted.

This patch skips the expiration check for the localhost cert if the CA cert is
missing.
@puppetcla
Copy link

CLA signed by all contributors.

@Iristyle Iristyle merged commit 0b84445 into puppetlabs:master Dec 6, 2013
@Sharpie Sharpie deleted the 21869-fix-ssl-recursion branch February 12, 2014 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants