Skip to content

[FR] - Possibility to obtain server certificates #1025

Open
@wojciechUrbanski

Description

@wojciechUrbanski

Feature:

I would like to have the possibility to retrieve the server certificates, something like:

val Url = new URL(url)
val con = Url.openConnection
val scon = con.asInstanceOf[HttpsURLConnection]
scon.connect()
val certs = scon.getServerCertificates

After initial talk with Adam, certs might be added to ResponseMetadata and the syntax may look as: (ignore: ResponseAs[Unit]).mapWithMetadata(m => extract cert)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtodoissue is still valid and waiting for contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions