Skip to main content
Let’s Encrypt is used by MagicServer by default, so you don’t have to do anything to enable it. However, if you wish it to be explicit about which certificate authority is being used, you may manually specify when calling createMagicServer.
import { letsencrypt } from "@magicserver/magicserver/authorities"

const server = createMagicServer("your-domain.com", app, {
  authority: letsencrypt
})
I