Skip to content

osc skip tls verify #964

Closed
Closed

Description

@roberto-gomez

Hello.

When I execute a command like osc get pods osc return a error like this

F0210 16:07:04.021613     148 get.go:158] Get https://localhost:8443/api/v1beta1/pods?namespace=default: x509: certificate signed by unknown authority

If I use the option --insecure-skip-tls-verify=true when execute the command the error disapears, but I don't want to use the option in all commands.

There is a method to avoid to use the option? Maybe editing some config file...

Activity

  1. changed the title [-]First steps guide for Openshift v0.3[/-] [+]osc skip tls verify[/+] on Feb 10, 2015
  2. smarterclayton commented on Feb 10, 2015

    @smarterclayton
    Contributor

    Yes, you need to set up the KUBECONFIG file to point to the certs generated by the OpenShift server. See http://lists.openshift.redhat.com/openshift-archives/dev/2015-January/msg00057.html for more on how to configure this.

    @liggitt we may need to call this out in our README / contributing guide more.

  3. added
    kind/bug
    on Feb 12, 2015
  4. liggitt commented on May 8, 2015

    @liggitt
    Contributor

    osc login prompts you to accept an insecure connection now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/clikind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions