Hi,
This is not a bug, just a question.
When I tryed to execute dotnet MyIdServer.dll /seed
I got : throw new Exception("need to configure key material");
I did this :
`
var certPath = Path.Combine(Directory.GetCurrentDirectory(), "Cert", "MyIdServerLocalhost.pfx"); //IISExpressCertificate
X509Certificate2 cert = new X509Certificate2(certPath, "MyLocalhostCertPassword");
var certPath = Path.Combine(Directory.GetCurrentDirectory(), "Cert", "MyIdServer.pfx");
X509Certificate2 cert = new X509Certificate2(certPath,"MyProductionCertPassword");
builder.AddSigningCredential(cert);
`
My question is :
This means when you seed the database for production, you cannot use it in localhost test mode because some encryption is different ?
If yes, do I have to seed a first database for localhost with a first connectionstring and a second one for production ?
Thanks
The docs have many of your answers:
http://docs.identityserver.io/en/release/quickstarts/0_overview.html
http://docs.identityserver.io/en/release/topics/crypto.html
Also - learn about the hosting environment concept in ASP.NET Core - this is orthogonal to DEBUG.
Closing. If you still have issues, feel free to reopen.
The docs have many of your answers:
http://docs.identityserver.io/en/release/quickstarts/0_overview.html
http://docs.identityserver.io/en/release/topics/crypto.html
The links are broken. Could you update them?
Here are the updated links:
http://docs.identityserver.io/en/latest/quickstarts/0_overview.html
Thanks for the update
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.