Skip to content

Commit

Permalink
reflow/tls: use certs from ticket
Browse files Browse the repository at this point in the history
Summary:
Currently, we generate certs per user. It is inconvenient to be able to use reflow (querying) from other machines unless you copy the certs file out everywhere.
I have also released a new grailbootstrap 0.2
This change doesn't require the OSS bootstrap to be updated.

Test Plan: Ran a test program and it succeeded.

Reviewers: marius, smahadevan, jcharumilind

Reviewed By: marius

Differential Revision: https://phabricator.grailbio.com/D38246

fbshipit-source-id: ae4bcda
  • Loading branch information
Prasad Gopal committed Nov 13, 2019
1 parent 0f8081b commit 718e1fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tls/authority.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ var (
driftMargin = time.Minute
)

// Certs defines an interface used to obtain TLS client and server certificates.
type Certs interface {
HTTPS() (client, server *cryptotls.Config, err error)
}

// Authority is an infrastructure provider that implements a TLS
// authority, capable of issuing TLS certificates. Its implementation
// requires that a file be specified (through the flag parameter
Expand Down

0 comments on commit 718e1fd

Please sign in to comment.