Skip to content

setSslSocketFactory deprecated in okhttp3 #3

@z0rti

Description

@z0rti

OkHttpClient client = new OkHttpClient(); SSLContext sslContext = SslUtils.getSslContextForCertificateFile(context, "BPClass2RootCA-sha2.cer"); client.setSslSocketFactory(sslContext.getSocketFactory());

Cannot resolve method 'setSslSocketFactory(javax.net.ssl.SSLSocketFactory)'

Update needed! ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions