Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes incorrect "certificate provided is not valid until ..." #605

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhilyard
Copy link

@jhilyard jhilyard commented May 3, 2023

Fixes https://kb.tableau.com/articles/issue/error-the-certificate-provided-is-not-valid-until-when-starting-tabpy issue: certificate not_before and not_after are naive datetimes in UTC, so the now variable should use datetime.utcnow() not datetime.now().

Currently anyone who installs TabPy and then creates a self-signed certificate to use HTTPS in a time zone west of Greenwich gets an error that the certificate is not yet valid. I found this frustrating enough to fork and provide this fix, since my certificate still won't be valid for over an hour. You can probably also retire the KB article referenced above once merged.

Thanks for your attention!

error-the-certificate-provided-is-not-valid-until-when-starting-tabpy
issue: certificate not_before and not_after are naive datetimes in UTC,
so now variable should use datetime.utcnow().
@salesforce-cla
Copy link

salesforce-cla bot commented May 3, 2023

Thanks for the contribution! Before we can merge this, we need @jhilyard to sign the Salesforce Inc. Contributor License Agreement.

@jakeichikawasalesforce
Copy link
Collaborator

@jhilyard thanks for the PR. I think the last step is to sign the "salesforce-cla" then I can merge that for you.

@jhilyard
Copy link
Author

@jakeichikawasalesforce I signed the salesforce-cla previously - when I click the signing link it now says "You already signed the CLA on 2023-05-03" and won't let me do so again. Sorry the merge checker doesn't seem to agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants