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

fix issue: #431 (ERR_CERT_VALIDITY_TOO_LONG) #432

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

xujinzheng
Copy link
Contributor

I fixed the cert date range as follow:

start := time.Unix(time.Now().Unix()-2592000, 0) // 2592000  = 30 day
end := time.Unix(time.Now().Unix()+31536000, 0)  // 31536000 = 365 day

@TitanWhoo
Copy link

I also encountered this problem. I think this pr should be accepted.
@elazarl

@elazarl elazarl merged commit a0805db into elazarl:master Oct 15, 2022
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