Skip to content

Commit 143f3e6

Browse files
authored
Merge pull request #5713 from HasiniSama/keystore
Update the deployment.toml configuration to match the keystore created
2 parents 6b1595c + 3b63301 commit 143f3e6

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

en/includes/deploy/change-the-hostname.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,25 +71,36 @@ This section guides you through changing the hostname of the WSO2 Identity Serve
7171

7272
2. If the keystore name and password is changed, all the references to it within the WSO2 Identity Server must also be updated. Add the following configuration to the `deployment.toml` file in the `<IS_HOME>/repository/conf/` folder.
7373

74+
=== "Format"
75+
76+
``` toml
77+
[keystore.primary]
78+
file_name = "<keystore_name>"
79+
password = "<keystore_password>"
80+
alias = "<alias_name>"
81+
key_password = "<keystore_password>"
82+
type = "<keystore_type>"
83+
```
84+
7485
=== "JKS"
7586

7687
``` toml
7788
[keystore.primary]
78-
file_name = "new-keystore.jks"
79-
password = "new-keystore-password"
80-
alias = "new-private-key-alias"
81-
key_password = "new-private-key-password"
89+
file_name = "newkeystore.jks"
90+
password = "mypassword"
91+
alias = "newcert"
92+
key_password = "mypassword"
8293
type = "JKS"
8394
```
8495

8596
=== "PKCS12"
8697

8798
``` toml
8899
[keystore.primary]
89-
file_name = "new-keystore.p12"
90-
password = "new-keystore-password"
91-
alias = "new-private-key-alias"
92-
key_password = "new-private-key-password"
100+
file_name = "newkeystore.p12"
101+
password = "mypassword"
102+
alias = "newcert"
103+
key_password = "mypassword"
93104
type = "PKCS12"
94105
```
95106

0 commit comments

Comments
 (0)