@Deprecated
    public VirtualHostBuilder tlsSelfSigned(boolean tlsSelfSigned) {
        checkState(!portBased, "Cannot configure self-signed to a port-based virtual host." +
                               " Please configure to %s.tlsSelfSigned()", ServerBuilder.class.getSimpleName());
        this.tlsSelfSigned = tlsSelfSigned;
        return this;
    }
Configures SSL or TLS of this {@link VirtualHost} with an auto-generated self-signed certificate.
<strong>Note:</strong> You should never use this in production but only for a testing purpose.

@see #tlsCustomizer(Consumer)
@deprecated Use {@link #tls(TlsKeyPair)} with {@link TlsKeyPair#ofSelfSigned()}.
core/src/main/java/com/linecorp/armeria/server/VirtualHostBuilder.java