title: x509: certificate signed by unknown authority err
body: <p>I am attempting to create simple vcn but i am getting this error:</p>
  
  <pre><code>Post https://iaas.us-ashburn-1.oraclecloud.com/20160918/vcns: x509: certificate signed by unknown authority
  details of vcn creation: { RawResponse=&lt;nil&gt; Vcn={ CidrBlock=&lt;nil&gt; CompartmentId=&lt;nil&gt; Id=&lt;nil&gt; LifecycleState= DefaultDhcpOptionsId=&lt;nil&gt; DefaultRouteTableId=&lt;nil&gt; DefaultSecurityListId=&lt;nil&gt; DefinedTags=map[] DisplayName=&lt;nil&gt; DnsLabel=&lt;nil&gt; FreeformTags=map[] TimeCreated=&lt;nil&gt; VcnDomainName=&lt;nil&gt; } Etag=&lt;nil&gt; OpcRequestId=&lt;nil&gt; }
  </code></pre>
  
  <p>I was able to create a vcn in the past but not with the recent version i am getting this error. My current $HOME/.oci/config should be okay because i am able to use the oci cli and terraform with it. Here is the code that i am attempting to execute.</p>
  
  <pre><code>package main
  
  import (
    "context"
    "fmt"
  
    "github.com/oracle/oci-go-sdk/common"
    "github.com/oracle/oci-go-sdk/core"
    "github.com/oracle/oci-go-sdk/identity"
  )
  
  func main() {
    configProvider := common.DefaultConfigProvider()
  
    response, err := createNetworkVCN(configProvider)
    if err != nil {
      fmt.Println(err)
    }
    fmt.Printf("details of vcn creation: %v", response)
  
    return
  }
  
  func createNetworkVCN(configProvier common.ConfigurationProvider) (response core.CreateVcnResponse, err error) {
    client, err := core.NewVirtualNetworkClientWithConfigurationProvider(configProvier)
    if err != nil {
      return response, err
    }
    ctx := context.Background()
    request := core.CreateVcnRequest{}
    request.CidrBlock = common.String("10.0.0.0/16")
    request.CompartmentId = common.String("&lt;redacted for security reasons&gt;")
    request.DisplayName = common.String("TestVCN")
    request.DnsLabel = common.String("testDNS")
  
    response, err = client.CreateVcn(ctx, request)
    if err != nil {
      return response, err
    }
  
    return response, err
  }
  </code></pre>
  
  <p>note that I am using dep to maintain version 2.1.0 of the oci-go-sdk package</p>