From 0c1bf7b4ea40a6499424693361ebd2002a8e827c Mon Sep 17 00:00:00 2001 From: AlvaroGlezC Date: Thu, 16 May 2024 18:57:46 +0200 Subject: [PATCH] #15 Cambios en los certificados --- docker/keycloak/certs/keycloakcert3.pem | 17 --------------- docker/keycloak/certs/keycloakkey3.pem | 28 ------------------------- docker/keycloak/keycloak.Dockerfile | 6 +++--- 3 files changed, 3 insertions(+), 48 deletions(-) delete mode 100644 docker/keycloak/certs/keycloakcert3.pem delete mode 100644 docker/keycloak/certs/keycloakkey3.pem diff --git a/docker/keycloak/certs/keycloakcert3.pem b/docker/keycloak/certs/keycloakcert3.pem deleted file mode 100644 index 210e71f..0000000 --- a/docker/keycloak/certs/keycloakcert3.pem +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN CERTIFICATE REQUEST----- -MIICojCCAYoCAQAwADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMCS -sot/zNlSDQt6CtYcYmKOwRlHV7KH2MeES9/UuWy1aHKb3WsCi/3yWqk+bK1a3dnn -BnCwgPHPLdm/r2o3Fpy22buf3smN+beKbJba2xncXHQ2x8IHGO5RzJpni8fytOum -I8HH7ElDYN7wbKHoux2PzGaDKWSIi9iCcuMiniJPMSn2ebi1dod0sY4pj6juNcLL -UsTPY0OuSEMTgGnXEblbeR5U9+p/POd3SrHqcINLkWN5msKHmTCNasMoNQ8artLF -fg3kHh/wQQbi1R+0ZbEmrYpok1Fk5xtwVL3S8Bwmz1CcAovc1eD+tbBIORcgDKXe -06qisZuIrKd0w5PM6CcCAwEAAaBdMFsGCSqGSIb3DQEJDjFOMEwwSgYDVR0RBEMw -QYI/c3lnLWtleWNsb2FrLmhkZzVmZ2hwY2VmN2E4YTIud2VzdGV1cm9wZS5henVy -ZWNvbnRhaW5lci5pbzo4MDkwMA0GCSqGSIb3DQEBCwUAA4IBAQAYNnsjoohP5KJo -LPJAq6T7TMD57x+0Lebk50d35v3JFVB9hT0U+4ZtTJ8OHmNmMeBinyCRvjwUitqI -tMcNIjDJP0cegmBX1ioM7dy+MhEYEQJp/Moo9T4jGZIS648rijC8g7jMu1GY+S9M -/yh9To5sZGciKUQNXR7+L7fjzIaW+tzbziWwvAhCHXEQBZvqR6rrI/fVr4eylntJ -iHxqbTM9SDYoygKfmSSGAN+O11TlMg07q3mTUxWJQK0+u9EWucqDvv9Iy33cMyfg -6TdRcDIAqJt2jp8u27d1KeFGT91q4qHDLbISlL2b56dL/AoUD8qofoeNFT0uLaH8 -9ik+Fm2w ------END CERTIFICATE REQUEST----- \ No newline at end of file diff --git a/docker/keycloak/certs/keycloakkey3.pem b/docker/keycloak/certs/keycloakkey3.pem deleted file mode 100644 index f32bbd7..0000000 --- a/docker/keycloak/certs/keycloakkey3.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDAkrKLf8zZUg0L -egrWHGJijsEZR1eyh9jHhEvf1LlstWhym91rAov98lqpPmytWt3Z5wZwsIDxzy3Z -v69qNxacttm7n97Jjfm3imyW2tsZ3Fx0NsfCBxjuUcyaZ4vH8rTrpiPBx+xJQ2De -8Gyh6Lsdj8xmgylkiIvYgnLjIp4iTzEp9nm4tXaHdLGOKY+o7jXCy1LEz2NDrkhD -E4Bp1xG5W3keVPfqfzznd0qx6nCDS5FjeZrCh5kwjWrDKDUPGq7SxX4N5B4f8EEG -4tUftGWxJq2KaJNRZOcbcFS90vAcJs9QnAKL3NXg/rWwSDkXIAyl3tOqorGbiKyn -dMOTzOgnAgMBAAECggEAHala2/bS6DRlsvtY2PLlSpX/czPUc7jN8KlVgIQFDZQB -owmT+MwbIQHn6gKl/aut2Ubm7IubSOOnBc+rJrqWfowBjI9K4xO9v4IQSMosDlct -XG8lpKKwOeEamTvSwXkGWfessUfogr5gmOZCbUvqKlsAWlfgk84ecDpjlM27ur/g -UPbTvVzcTsQdSCi6HFlRMimoj4N28DkFGHjN/d8t8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/docker/keycloak/keycloak.Dockerfile b/docker/keycloak/keycloak.Dockerfile index b2793ec..f389d8d 100644 --- a/docker/keycloak/keycloak.Dockerfile +++ b/docker/keycloak/keycloak.Dockerfile @@ -7,7 +7,7 @@ ENV KEYCLOAK_ADMIN=admin ENV KEYCLOAK_ADMIN_PASSWORD=admin # Copiar archivos de certificado y clave privada -COPY ./certs /opt/keycloak/certs +# COPY ./certs /opt/keycloak/certs # Copiar el archivo de importaciĆ³n del realm al directorio de importaciĆ³n COPY ./imports/realm.json /opt/keycloak/data/import/ @@ -17,5 +17,5 @@ EXPOSE 8080 EXPOSE 8090 # Comando para iniciar Keycloak en modo de desarrollo con puerto y otros argumentos -# CMD ["start-dev", "--import-realm", "--http-port=8090", "--hostname-url=http://syg-keycloak.hdg5fghpcef7a8a2.westeurope.azurecontainer.io:8090"] -CMD ["start", "--import-realm", "--http-port=8100", "--https-port=8090", "--hostname-url=https://syg-keycloak.hdg5fghpcef7a8a2.westeurope.azurecontainer.io:8090", "--https-certificate-file=/opt/keycloak/certs/keycloakcert.pem", "--https-certificate-key-file=/opt/keycloak/certs/keycloakkey.pem"] +CMD ["start-dev", "--import-realm", "--http-port=8090", "--hostname-url=http://syg-keycloak.hdg5fghpcef7a8a2.westeurope.azurecontainer.io:8090"] +# CMD ["start", "--import-realm", "--http-port=8100", "--https-port=8090", "--hostname-url=https://syg-keycloak.hdg5fghpcef7a8a2.westeurope.azurecontainer.io:8090", "--https-certificate-file=/opt/keycloak/certs/keycloakcert.pem", "--https-certificate-key-file=/opt/keycloak/certs/keycloakkey.pem"]