Permalink
Browse files

Added missing sslCAinfo option in doc

* added missing sslCAinfo for git clone example (needed for cert validation over https)
* cosmetic change for readability

Signed-off-by: Fabian Arrotin <fabian.arrotin@arrfab.net>
  • Loading branch information...
arrfab authored and mergify committed Aug 29, 2018
1 parent 5a9d50e commit 8dc1a242c692a48f03087a1db3a06bf71c87900c
Showing with 12 additions and 5 deletions.
  1. +12 −5 README.md
@@ -87,13 +87,20 @@ Or, again, start the `repospanner.service` unit file.
Repository access
-----------------

After this, the service will be available on
https://<node.fqdn>:<httpsport>/, for git repo pull/push, add a
/repo/<repo-name>.git. Example clone command: "git clone --config
http.sslcert=/etc/pki/repospanner/someuser.crt --config
http.sslkey=/etc/pki/repospanner/someuser.key
After this, the service will be available on https://<node.fqdn>/

For git repo pull/push, add a /repo/<repo-name>.git.
Example clone command for default https port on tcp/443 and repo name being "test"

```
git clone \
--config http.sslcert=/etc/pki/repospanner/someuser.crt \
--config http.sslkey=/etc/pki/repospanner/someuser.key \
--config http.sslCAinfo=/etc/pki/repospanner/<repospanner-CA>.crt \
https://nodea.regiona.repospanner.local/repo/test.git".
```

Alternatively, for ssh based pushing and pulling, make sure that the users'
entry console is the `repobridge` binary, and the client_config.yml file is setup
in /etc/repospanner.

0 comments on commit 8dc1a24

Please sign in to comment.