Set tlsCertificate property.
A gio.tls_certificate.TlsCertificate that has a property@Gio.TlsCertificate:private-key set.
If this is set, then the server will be able to speak https in addition to (or instead of) plain http.
Set tlsCertificate property.