forked from absmach/supermq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NOISSUE - Sync Env Veriables With Docker Deployment (absmach#1841)
* Initial Commit: Sync Env Veriables With Docker Deployment Signed-off-by: rodneyosodo <[email protected]> * Sync Env Vars With Master Signed-off-by: rodneyosodo <[email protected]> * Remove Altprefix Signed-off-by: rodneyosodo <[email protected]> * Rename HttpPort to HTTPPort Signed-off-by: rodneyosodo <[email protected]> * Fix envPrefixDB After Rebase Signed-off-by: rodneyosodo <[email protected]> * Remove Server Parse Signed-off-by: rodneyosodo <[email protected]> * Add Provision For TLS on CoAP Signed-off-by: rodneyosodo <[email protected]> * Fix Exit After Defer Signed-off-by: rodneyosodo <[email protected]> * Remove Unused Function Signed-off-by: rodneyosodo <[email protected]> * Document Undocumentated Env Variables Signed-off-by: rodneyosodo <[email protected]> --------- Signed-off-by: rodneyosodo <[email protected]> Co-authored-by: Drasko DRASKOVIC <[email protected]>
- Loading branch information
1 parent
b7b14cc
commit 3e7bac4
Showing
85 changed files
with
2,009 additions
and
1,572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
# Certs Service | ||
|
||
Issues certificates for things. `Certs` service can create certificates to be used when `Mainflux` is deployed to support mTLS. | ||
Certificate service can create certificates in two modes: | ||
|
||
1. Development mode - to be used when no PKI is deployed, this works similar to the [make thing_cert](../docker/ssl/Makefile) | ||
2. PKI mode - certificates issued by PKI, when you deploy `Vault` as PKI certificate management `cert` service will proxy requests to `Vault` previously checking access rights and saving info on successfully created certificate. | ||
|
||
## Development mode | ||
|
||
If `MF_CERTS_VAULT_HOST` is empty than Development mode is on. | ||
|
||
To issue a certificate: | ||
|
||
```bash | ||
|
||
TOK=`curl -s --insecure -S -X POST http://localhost/tokens -H 'Content-Type: application/json' -d '{"email":"[email protected]","password":"12345678"}' | jq -r '.token'` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.