mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 12:48:18 +00:00
fix(docs): add markdownlint and apply rules (#4557)
This commit is contained in:
committed by
GitHub
parent
ee103c3688
commit
6fe0303279
@@ -3,17 +3,18 @@
|
||||
When using a self-signed certificate for Atlantis (with flags `--ssl-cert-file` and `--ssl-key-file`),
|
||||
there are a few considerations.
|
||||
|
||||
Atlantis uses the web server from the standard Go library,
|
||||
Atlantis uses the web server from the standard Go library,
|
||||
the method name is [ListenAndServeTLS](https://pkg.go.dev/net/http#ListenAndServeTLS).
|
||||
|
||||
`ListenAndServeTLS` acts identically to [ListenAndServe](https://pkg.go.dev/net/http#ListenAndServe),
|
||||
except that it expects HTTPS connections.
|
||||
Additionally, files containing a certificate and matching private key for the server must be provided.
|
||||
If the certificate is signed by a certificate authority,
|
||||
the file passed to `--ssl-cert-file` should be the concatenation of the server's certificate, any intermediates, and the CA's certificate.
|
||||
except that it expects HTTPS connections.
|
||||
Additionally, files containing a certificate and matching private key for the server must be provided.
|
||||
If the certificate is signed by a certificate authority,
|
||||
the file passed to `--ssl-cert-file` should be the concatenation of the server's certificate, any intermediates, and the CA's certificate.
|
||||
|
||||
If you have this error when specifying a TLS cert with a key:
|
||||
```
|
||||
If you have this error when specifying a TLS cert with a key:
|
||||
|
||||
```plain
|
||||
[ERROR] server.go:413 server: Tls: private key does not match public key
|
||||
```
|
||||
|
||||
@@ -23,5 +24,3 @@ A good example is shown at [Seth Vargo terraform implementation of atlantis-on-g
|
||||
For Go specific TLS resources have a look at the repository by [denji called golang-tls](https://github.com/denji/golang-tls).
|
||||
|
||||
For a complete explanation on PKI, read this [article](https://smallstep.com/blog/everything-pki.html).
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user