Please prepare TLS certificate by mkcert or other tools for running local HTTPS server. web:did method does not define a case of resolving through http connection.
Stringify cert files like cat <cert-file> | awk '{ printf $0"\\n" }'
Place dotenv to server/.env
as follows:
HOSTNAME=localhost
KEY="-----BEGIN PRIVATE KEY-----\n...-----END PRIVATE KEY-----\n"
CERT="-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----\n"
Then start dev server by yarn dev