-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #657 from abhi4578/nginx-keycloak-fixes
[Docker-Swarm]Nginx keycloak fixes
- Loading branch information
Showing
12 changed files
with
221 additions
and
37 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
21 changes: 21 additions & 0 deletions
21
Docker-Swarm-deployment/single-node/nginx/example-secrets/secrets/pki/fullchain.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDcTCCAlmgAwIBAgIBATANBgkqhkiG9w0BAQsFADAxMSAwHgYDVQQDDBdUTFNH | ||
ZW5TZWxmU2lnbmVkdFJvb3RDQTENMAsGA1UEBwwEJCQkJDAeFw0yMDA4MzExNjI4 | ||
MTJaFw0zMDA4MjkxNjI4MTJaMCUxEjAQBgNVBAMMCWxvY2FsaG9zdDEPMA0GA1UE | ||
CgwGc2VydmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArwdoR1Iw | ||
Wh0JeUftf1HKwplkPpfagBnE3EplNtXNI8J5S6L3IZ/ESO1jD+Sv7gEPD/uj/Gs5 | ||
XZtHWjbRKg5t+s5/VinME2veO/YECissbgcpG47TnmZYBh/MI/bmqB1H1eP1BMIy | ||
ZGzkc7jGpmvtTFnhnnx3wOl2Q73LnjjZYa8gFP8vhAGOVNoEVR8TVVIMJu75lexY | ||
FACgkrZxpIvLo2Vm1hwp9LC/8+vnykRN1lHCzlNujWLqqFaNIXHgITwV+WVMyYKQ | ||
xcLArhnQ3udT8R3w0xGrN+ftnzTM5FAjwavdmuUy6Af9FPjUr/PihEtEEXknS7TW | ||
9+RT0UU1bkViUwIDAQABo4GfMIGcMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgWgMBMG | ||
A1UdJQQMMAoGCCsGAQUFBwMBMC0GA1UdEQQmMCSCCWxvY2FsaG9zdIIMc3JpbnNr | ||
aXRhcmNogglsb2NhbGhvc3QwHQYDVR0OBBYEFAfHIG3fXL6ihDwPe6iljZW1D1lV | ||
MB8GA1UdIwQYMBaAFI4TePiskZTMxosacbYosqXR/plXMA0GCSqGSIb3DQEBCwUA | ||
A4IBAQAYyyaVogo1p7B2wUAtW+o8CKhm1/0SXeCExiBpeBUSGXWkxqOEUbMtcjGs | ||
l+D//Td1u1bJ+oAzwf5umvfJMsMllTtmGwmf86IQNGt4DORaANctGU92DigVdor1 | ||
R5D5NFraZCBBItzZjRZVhqsro/CcrHGdmHJEET1y/CKPK913jhodW5i1aMD770Go | ||
j/TLlxu/0+W7xfu44sdhfjzkjaen4nEBfWSH7SuYAtWbfDOeVyFNZwZ+Gqct+Sla | ||
rXwfyuCiU1kAqWE29DLNYo8KLbE0YsEJZSGK94ZTB9/NPb5qgf/PAVPzcMZbGe6S | ||
OeenHmVfMNZLb/2alVaRPhap2rAw | ||
-----END CERTIFICATE----- |
28 changes: 28 additions & 0 deletions
28
Docker-Swarm-deployment/single-node/nginx/example-secrets/secrets/pki/privkey.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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCvB2hHUjBaHQl5 | ||
R+1/UcrCmWQ+l9qAGcTcSmU21c0jwnlLovchn8RI7WMP5K/uAQ8P+6P8azldm0da | ||
NtEqDm36zn9WKcwTa9479gQKKyxuBykbjtOeZlgGH8wj9uaoHUfV4/UEwjJkbORz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ygwll | ||
qmvEC6FiX+wq6BlmbpuuBpm1MqV5e9r2DOh3LAP7sNpRJNYuVyplePu5GQKBgAy3 | ||
vMJJtIoXrtBkZ5eCtUZWjPeoTIg+Cmtl0MxvVYhzqE3Cs8Uab+0K9x+tcCTdzbSn | ||
weUw3U9piSaS1FpEAMBmC3D7jh39X+BtF90bTD7t1jaePZtag2z/sQ4oskcTayxq | ||
OSytNbvslGV5aPMafsklVHBWuEkiilc8skGT+qF1AoGAPXuRg+WXT5hjYm9neeJk | ||
YAMjaTgLF4SNaP+MzThBIdBOEKseca/nleOezu4rEMbkvkiFVSjV9/8CkPhNE6U8 | ||
cDcqXglc9RKiW5ytotOyYLyfErcclcc+qDTi5gLAP5n2w9XlSTwF9eDfohljh9Yz | ||
Pl72WthlUEjh6BrZWgKGTug= | ||
-----END PRIVATE KEY----- |
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,2 @@ | ||
FROM bitnami/keycloak:21.1.1 | ||
COPY src/ /opt/bitnami/keycloak/themes/ | ||
FROM bitnami/keycloak:22.0.1 | ||
COPY src/ /opt/bitnami/keycloak/themes/ |
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
31 changes: 31 additions & 0 deletions
31
docker/keycloak/src/custom_theme/login/login-reset-password.ftl
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<#import "template.ftl" as layout> | ||
<@layout.registrationLayout displayInfo=true; section> | ||
<#if section = "header"> | ||
${msg("emailForgotTitle")} | ||
<#elseif section = "form"> | ||
<form id="kc-reset-password-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post"> | ||
<div class="${properties.kcFormGroupClass!}"> | ||
<div class="${properties.kcLabelWrapperClass!}"> | ||
<label for="username" class="${properties.kcLabelClass!}"><#if !realm.loginWithEmailAllowed>${msg("username")}<#elseif !realm.registrationEmailAsUsername>${msg("usernameOrEmail")}<#else>${msg("email")}</#if></label> | ||
</div> | ||
<div class="${properties.kcInputWrapperClass!}"> | ||
<input type="text" id="username" name="username" class="${properties.kcInputClass!}" autofocus/> | ||
</div> | ||
</div> | ||
|
||
<div class="${properties.kcFormGroupClass!} ${properties.kcFormSettingClass!}"> | ||
<div id="kc-form-options" class="${properties.kcFormOptionsClass!}"> | ||
<div class="${properties.kcFormOptionsWrapperClass!}"> | ||
<span><a href="${url.loginUrl}">${kcSanitize(msg("backToLogin"))?no_esc}</a></span> | ||
</div> | ||
</div> | ||
|
||
<div id="kc-form-buttons" class="login-div"> | ||
<button class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonBlockClass!} ${properties.kcButtonLargeClass!}" type="submit" value="${msg("doSubmit")}">${msg("doSubmit")}</button> | ||
</div> | ||
</div> | ||
</form> | ||
<#elseif section = "info" > | ||
${msg("emailInstruction")} | ||
</#if> | ||
</@layout.registrationLayout> |
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
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
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