github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/api/cloudcontroller/ccerror/unverified_server_error.go (about)

     1  package ccerror
     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  }