bindto[0] = bindtoTCP;
Bindto bindtoTLS = new Bindto();
bindtoTLS.setPort("${DIAMETER_SSL_PORT}");
bindtoTLS.setHost("${DIAMETER_SSL_ADDRESS}");
bindtoTLS.setTransport("tls");
Ssl ssl = new Ssl();
ssl.setCertNickname("s1cs");
ssl.setClientAuthEnabled(false);
ssl.setSsl2Enabled(false);
ssl.setSsl3Enabled(false);
ssl.setTlsEnabled(true);
ssl.setTlsRollbackEnabled(true);
bindtoTLS.setSsl(ssl);
bindto[1] = bindtoTLS;
listener.setBindto(bindto);
listener.setAcceptUnknownPeer("true");