diff --git a/.github/workflows/xbox-native-latency.yml b/.github/workflows/xbox-native-latency.yml index 9777bda50..a96366842 100644 --- a/.github/workflows/xbox-native-latency.yml +++ b/.github/workflows/xbox-native-latency.yml @@ -30,7 +30,7 @@ jobs: Write-Asset 'Wide310x150Logo.png' 310 150 Write-Asset 'SplashScreen.png' 620 300 Write-Asset 'StoreLogo.png' 50 50 - $cert = New-SelfSignedCertificate -Type Custom -Subject 'CN=AestheticComputerDev' -KeyUsage DigitalSignature -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' + $cert = New-SelfSignedCertificate -Type Custom -Subject 'CN=AestheticComputerDev' -KeyUsage DigitalSignature -KeyExportPolicy Exportable -HashAlgorithm SHA256 -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.3') -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' $password = ConvertTo-SecureString 'aesthetic-xbox-ci' -AsPlainText -Force Export-PfxCertificate -Cert $cert -FilePath (Join-Path $root 'XboxLatency_TemporaryKey.pfx') -Password $password | Out-Null - name: Build signed x64 UWP package diff --git a/appveyor.yml b/appveyor.yml index 5941e8a0a..e0784d76c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,7 +36,9 @@ install: Write-Asset 'SplashScreen.png' 620 300 Write-Asset 'StoreLogo.png' 50 50 $cert = New-SelfSignedCertificate -Type Custom -Subject 'CN=AestheticComputerDev' ` - -KeyUsage DigitalSignature -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' + -KeyUsage DigitalSignature -KeyExportPolicy Exportable -HashAlgorithm SHA256 ` + -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.3') ` + -FriendlyName 'AC Xbox CI' -CertStoreLocation 'Cert:\CurrentUser\My' $password = ConvertTo-SecureString $env:cert_password -AsPlainText -Force Export-PfxCertificate -Cert $cert ` -FilePath (Join-Path $env:APPVEYOR_BUILD_FOLDER "$env:project_root\XboxLatency_TemporaryKey.pfx") `