8000 [Help wanted] Don't verify cert · Issue #196 · go-openapi/runtime · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Help wanted] Don't verify cert #196
Open
@smutel

Description

@smutel

Hello,

I am using this piece of code:

defaultScheme := []string{scheme}

t := runtimeclient.New(url, client.DefaultBasePath, defaultScheme)
t.DefaultAuthentication = runtimeclient.APIKeyAuth(authHeaderName, "header",
	fmt.Sprintf(authHeaderFormat, token))
return client.New(t, strfmt.Default), nil

I would like to add an option to not verify SSL cert. What is the easiest way to accomplish this ?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0