Open CharEmMech opened 5 months ago
Hi @CharEmMech,
Is this line:
if ($cert.Thumbprint -eq '') {
meant to be the following instead? as the above will throw a 401 if the cert has a thumbprint
if ($cert.Thumbprint -ne '') {
Thanks for the reply, I just omitted the thumbprint of the cert there. it should be -eq '12334566677788888' it does not work with a valid thumbprint in there.
Question
Any clue what I'm doing wrong here? I generated a new certificate with powershell, gave it a friendlyname, and added it to localmachine\my and also added it to trusted store.
No matter what I get 401 error. Using Edge browser and have tried with powershell 5.1 and 7.4.2
`Import-Module -name pode, pode.web
Start-PodeServer -Threads 8 {
}`