diff --git a/Chocolatey-AU.build.ps1 b/Chocolatey-AU.build.ps1 index e4e6d27..e518ccd 100644 --- a/Chocolatey-AU.build.ps1 +++ b/Chocolatey-AU.build.ps1 @@ -31,7 +31,14 @@ param( ), [string] - $CertificateSubjectName = "Chocolatey Software, Inc.", + $CertificateSubjectName = $( + if ($CHOCOLATEY_OFFICIAL_CERT_SUBJECT_NAME) { + $CHOCOLATEY_OFFICIAL_CERT_SUBJECT_NAME + } + else { + 'Chocolatey Software, Inc' + } + ), [string]