• Kubernetes Submit Queue's avatar
    Merge pull request #44638 from ixdy/porter-cert · d264cdf3
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 44222, 44614, 44292, 44638)
    
    Update dummy certificate used in porter image
    
    **What this PR does / why we need it**: the dummy certificate used for the porter image is incompatible with go1.8+ since it is missing NULL parameters for the RSA public key.
    
    I haven't pushed the new porter image yet.
    
    I verified that this appears to fix the issue. Based on https://github.com/kubernetes/kubernetes/issues/38228#issuecomment-280213590, for the old cert:
    
    ```console
    $ openssl x509 -in localhost.crt -outform der | openssl asn1parse -inform der -i
    ...
      105:d=4  hl=2 l=   9 prim:     OBJECT            :rsaEncryption
      116:d=3  hl=2 l=  75 prim:    BIT STRING
    ...
    ```
    
    and the new cert:
    ```console
    $ openssl x509 -in localhost.crt -outform der | openssl asn1parse -inform der -i
    ...
      127:d=4  hl=2 l=   9 prim:     OBJECT            :rsaEncryption
      138:d=4  hl=2 l=   0 prim:     NULL              
      140:d=3  hl=4 l= 271 prim:    BIT STRING        
    ...
    ```
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    
    cc @liggitt @lavalamp @luxas
    d264cdf3
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
translations Loading commit data...
vendor Loading commit data...
.bazelrc Loading commit data...
.gazelcfg.json Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...