I have read the Suave document but still cannot start a Suave web server using HTTPS protocol.
Can someone help me on this? It would be great if sample code is provided.
You can create an HTTPS binding like this:
let cert = new X509Certificate2("certificate.p12","easy")
let ssl = HttpBinding.createSimple (HTTPS cert) "127.0.0.1" 8443
The certificate needs to be in PKCS format.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.