-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mrclemrkz
committed
Nov 2, 2018
1 parent
1445586
commit 00e2bad
Showing
3 changed files
with
56 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,8 @@ | |
/docs/_site | ||
/README.rst | ||
/*venv | ||
|
||
|
||
# keep away keystore files | ||
is/files/*.jks | ||
is/files/*.pem |
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,2 +1,47 @@ | ||
# Identity | ||
### Identity | ||
Identity management | ||
|
||
## Prerequisite | ||
|
||
# update configs | ||
|
||
replace 'domain.com' with your ipaddress or domain name. | ||
|
||
carbon.xml >>> | ||
``` | ||
<HostName>domain.com</HostName> | ||
<MgtHostName>domain.com</MgtHostName> | ||
``` | ||
|
||
user-mgt.xml >>> | ||
``` | ||
<Property name="defaultRealmName">localhost.com</Property> | ||
``` | ||
|
||
# create keystores | ||
|
||
Move to folder 'is/files/' | ||
``` | ||
cd is/files | ||
``` | ||
|
||
Run the following command and make sure to use; | ||
first and last name? -> ipaddress or domain name | ||
organizational unit -> Users | ||
password -> wso2carbon | ||
``` | ||
keytool -genkey -alias wso2carbon -keyalg RSA -keystore wso2carbon.jks -keysize 2048 | ||
``` | ||
|
||
follow the rest in order | ||
``` | ||
keytool -export -alias wso2carbon -keystore wso2carbon.jks -file publickey.pem | ||
keytool -import -alias wso2 -file publickey.pem -keystore client-truststore.jks -storepass wso2carbon | ||
``` | ||
|
||
|
||
## How to use | ||
|
||
``` | ||
# sh docker-up.sh | ||
``` |
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