Skip to content

Update dev certs with effectively infinite expiry - #331

Merged
yfakariya merged 3 commits into
masterfrom
fix/infinite-appx-cert
Oct 15, 2019
Merged

Update dev certs with effectively infinite expiry#331
yfakariya merged 3 commits into
masterfrom
fix/infinite-appx-cert

Conversation

@yfakariya

Copy link
Copy Markdown
Member

This PR updates development certificates for appx files in unit test projects with effectively infinite expiry (Int32.MaxValue unix seconds).

Although it may be available to set the expiry to more large date like 9999-12-31, there are some systems which have year 2038 problem in my personal experience. In such systems, expiry over 2038 causes certification validation error. So, I selected Int32.MaxValue unix seconds as expiry.

I also ship the simple powershell script to generate a such certificate for later maintenance.

This tool solves a problem that Visual Studio only generates 1-year expiry certs.
By this commit, dev-certs will have expiry until 2038.
In that time, UWP apps should be replaced completely.
@yfakariya
yfakariya merged commit 15c033c into master Oct 15, 2019
@yfakariya
yfakariya deleted the fix/infinite-appx-cert branch October 17, 2019 14:09
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.

1 participant