pull: Verify SSL/TLS certificates against system CA file by default

We also need a mechanism like GIT_SSL_NO_VERIFY...probably an option
in the config.
This commit is contained in:
Colin Walters 2013-07-09 15:02:48 -04:00
parent b5b2aca592
commit 7092e88eac
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ static void
ostree_fetcher_init (OstreeFetcher *self)
{
self->session = soup_session_async_new_with_options (SOUP_SESSION_USER_AGENT, "ostree ",
SOUP_SESSION_SSL_USE_SYSTEM_CA_FILE, TRUE,
SOUP_SESSION_USE_THREAD_CONTEXT, TRUE,
SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_REQUESTER,
NULL);