github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/api/plugin/pluginerror/unverified_server_error.go (about)

     1  package pluginerror
     2  
     3  // UnverifiedServerError replaces x509.UnknownAuthorityError when the server
     4  // has SSL but the client is unable to verify it's certificate
     5  type UnverifiedServerError struct {
     6  	URL string
     7  }
     8  
     9  func (UnverifiedServerError) Error() string {
    10  	return "x509: certificate signed by unknown authority"
    11  }