Home
VDN: How do I connect to a server using SSL? PDF Print E-mail

Valentina technology release 2.5 introduced the Valentina SSL Adapter. Valentina SSL Adapter allows you to establish secure, SSL connections between your Valentina based solution and Valentina Embedded Server.

Valentina Office Server and Valentina Studio incorporate support for the Valentina SSL Adapter. SSL is optional in Valentina Developer Network and implemented as an optional adaptor for Valentina Embedded Server.

To deploy support in an Embedded Server-based solution, you will need to pass your own SSL Adapter key in the same way you deploy your developer code for Valentina Embedded Server.

The server have a default port_SSL of 0. However, you can allow your server to listen to two ports at a time: a secure port and a non-secure port. You can entirely disable the non-secure port by specifying this in the server’s .ini file.

Makin a non-SSL Connection to a Server

Here is how you make a connection to a Valentina Server without SSL.

connection = new VConnection( host, user, passw, port )
connection.Open()

Makin an SSL Connection to a Server

Here is how you make a connection to a Valentina Server with SSL.

connection = new VConnection( host, user, passw, port )
connection.UseSSL()
connection.Open()

 
< Prev   Next >

© 2007. Mirye Software Division of Proactive International.