- Generate a self-signed certificate.
openssl req -x509 -newkey rsa:4096 -keyout localhost.key -out localhost.crt -subj "/CN=localhost" -addext "subjectAltName=DNS:localhost,DNS:webapplication"
openssl pkcs12 -export -in localhost.crt -inkey localhost.key -out localhost.pfx -name "Implementing the ASP.NET Core 8 Identity Email Sender using MailKit"
- Import the self-signed certificate.
certutil -f -user -importpfx Root localhost.pfx
- Add the line below to the hosts file.
127.0.0.1 webapplication
- Start the services.
docker compose up --build
implementing-the-aspnet-core-8-identity-email-sender-using-mailkit
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||