Skip to content

Conversation

@terceiro
Copy link
Contributor

@terceiro terceiro commented Feb 7, 2023

I was testing a local HTTPS server using localhost. If for some reason you remove ~/.localhost, Firefox will reject the newly created certificate saying that it has the same serial number from a previously seen certificate, but it's a diffreent one. Just use the current UNIX epoch as the serial number to avoid this.

Types of Changes

  • Bug fix.

Contribution

I was testing a local HTTPS server using localhost.  If for some reason
you remove ~/.localhost, Firefox will reject the newly created
certificate saying that it has the same serial number from a previously
seen certificate, but it's a diffreent one. Just use the current UNIX
epoch as the serial number to avoid this.

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
@ioquatix ioquatix merged commit dd4086d into socketry:main Feb 7, 2023
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.

2 participants