diff --git a/src/main/resources/.keystore b/src/main/resources/.keystore new file mode 100644 index 00000000..4b56bd11 Binary files /dev/null and b/src/main/resources/.keystore differ diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6bc8059e..37046249 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,14 +1,27 @@ server: + port: 18080 servlet: - context-path: /fims - + context-path: / + ssl: + enabled: true + key-alias: fimskeystore + key-store: classpath:fimskeystore.pkcs12 + key-store-password: 'Xit5811807@)@#' + key-password: 'Xit5811807@)@#' + trust-store: classpath:fimstrust.pkcs12 + trust-store-password: 'Xit5811807@)@#' + +# tomcat: +# remoteip: +# protocol-header-https-value: https + spring: application: name: fims main: allow-bean-definition-overriding: true - +# web-application-type: SERVLET sql: init: platform: mariadb diff --git a/src/main/resources/fims.cer b/src/main/resources/fims.cer new file mode 100644 index 00000000..461f52cd --- /dev/null +++ b/src/main/resources/fims.cer @@ -0,0 +1,20 @@ +-----BEGIN CERTIFICATE----- +MIIDUTCCAjmgAwIBAgIIBc96MGlekMIwDQYJKoZIhvcNAQELBQAwVzELMAkGA1UE +BhMCS1IxDjAMBgNVBAgTBXNlb3VsMQ4wDAYDVQQHEwVzZW91bDEMMAoGA1UEChMD +eGl0MQwwCgYDVQQLEwN4aXQxDDAKBgNVBAMTA3hpdDAeFw0yMzA4MDEyMzIzNDNa +Fw0zMzA3MjkyMzIzNDNaMFcxCzAJBgNVBAYTAktSMQ4wDAYDVQQIEwVzZW91bDEO +MAwGA1UEBxMFc2VvdWwxDDAKBgNVBAoTA3hpdDEMMAoGA1UECxMDeGl0MQwwCgYD +VQQDEwN4aXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDt75sDlnyR +Sy4idX5DiKXLmU5IkNHVtur7OyOCkkTniqDPBspDzvr9G4pHOwarOZcnqpOBuPyE +zJA8VaAOwMDfSDNoLqMx4W0OB8Em2VWaqK5QI8ah2Pjs6Zaw8n0+21mExo4FQRy7 +aaeTrl1DeOT5vqhpjevMHh35e22RvahljW1JtO7rDVA+d72UyKJShMIgDIBZT60K +aUj6jud8XinqzHgCpRUJBjcyz/ljrYVELffoETJRLlW5nX/OH9iXB8kVLX2o7OLq +LML4e5bQKH3SqNY2rHLMNI3Z2Ty8C3LgtF2U9T7aHI5VT7Z1KMH+ZZj2DpClIHYh +4AHVaC1k+LLbAgMBAAGjITAfMB0GA1UdDgQWBBQ7v//0rgpE6DWRKt9VTSNesU21 +3TANBgkqhkiG9w0BAQsFAAOCAQEAaykI1zE6U+kIIAsD+LRCq5K7FFdV0Z0eQ2Py +/LdmOsLdOXEiN3ag/odFv9xSn735rykgj05wV/2KwL+AmhKeIk+UNxIg0csFgDA+ ++Wp2ltXbzlrXgK8L1Ksw/QRQuSLgL+JWniD+xYkdUuPvG0boZ6Ioqope5mQQ2Njt +Io9LBp8cfkneU6746WiS0eiR0f0WOgThw3aPa/OFMWeJblBJwgCFQ6/WKQ1guf+u +rmmoliq0GSarrE+OCB7ZXYdtw5uZt06dQrfTb91e2aPF8ioUrs4ByscPx9aFQ5j/ +1IPPLIdtCTNmKU4W3Xn+22ZrJ11qDbQDjF9nzDv0Us0pLUMxgQ== +-----END CERTIFICATE----- diff --git a/src/main/resources/fimskeystore.pkcs12 b/src/main/resources/fimskeystore.pkcs12 new file mode 100644 index 00000000..23c60f57 Binary files /dev/null and b/src/main/resources/fimskeystore.pkcs12 differ diff --git a/src/main/resources/fimstrust.pkcs12 b/src/main/resources/fimstrust.pkcs12 new file mode 100644 index 00000000..e0d7c681 Binary files /dev/null and b/src/main/resources/fimstrust.pkcs12 differ diff --git a/src/main/resources/keystore b/src/main/resources/keystore new file mode 100644 index 00000000..4b56bd11 Binary files /dev/null and b/src/main/resources/keystore differ