VirtualBox

Changeset 53186 in vbox


Ignore:
Timestamp:
Nov 3, 2014 2:20:34 PM (10 years ago)
Author:
vboxsync
Message:

Main/webservice: better protocol selection

Location:
trunk/src/VBox/Main/webservice
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r53185 r53186  
    66 *      server, to which clients can connect.
    77 *
    8  * Copyright (C) 2007-2013 Oracle Corporation
     8 * Copyright (C) 2007-2014 Oracle Corporation
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    844844
    845845#ifdef WITH_OPENSSL
    846     if (g_fSSL && soap_ssl_server_context(&soap, SOAP_SSL_DEFAULT | SOAP_TLSv1, g_pcszKeyFile,
     846    if (g_fSSL && soap_ssl_server_context(&soap, SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION | SOAP_TLSv1, g_pcszKeyFile,
    847847                                         g_pcszPassword, g_pcszCACert, g_pcszCAPath,
    848848                                         g_pcszDHFile, g_pcszRandFile, g_pcszSID))
  • trunk/src/VBox/Main/webservice/webtest.cpp

    r46478 r53186  
    44 *      functionality of VBoxManage for testing purposes.
    55 *
    6  * Copyright (C) 2006-2013 Oracle Corporation
     6 * Copyright (C) 2006-2014 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    113113    // In a real world setup please use at least SOAP_SSL_DEFAULT and provide
    114114    // the necessary CA certificate for validating the server's certificate.
    115     if (fSSL && soap_ssl_client_context(&soap, SOAP_SSL_NO_AUTHENTICATION,
     115    if (fSSL && soap_ssl_client_context(&soap, SOAP_SSL_NO_AUTHENTICATION | SOAP_TLSv1,
    116116                                        NULL /*clientkey*/, NULL /*password*/,
    117117                                        NULL /*cacert*/, NULL /*capath*/,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette