Skip to content

Commit

Permalink
Merge pull request #2 from Manishch22/patch-1
Browse files Browse the repository at this point in the history
Update and rename application-local.properties to application.properties
  • Loading branch information
shubham-technoforte authored Sep 6, 2023
2 parents 0e9c2bc + 7ec8206 commit e7b784b
Showing 1 changed file with 25 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
##----------------------------------------- Database properties --------------------------------------------------------
softhsm.mock.identity.system.security.pin=39406032

spring.datasource.url=jdbc:postgresql://localhost:5455/mosip_mockidentitysystem
##----------------------------------------- Database properties --------------------------------------------------------
db.dbuser.password=Mosip@123
mosip.mockidentitysystem.database.hostname=postgres.tfgovidbb.sandbox-playground.com
mosip.mockidentitysystem.database.port=5432
spring.datasource.url=jdbc:postgresql://${mosip.mockidentitysystem.database.hostname}:${mosip.mockidentitysystem.database.port}/mosip_mockidentitysystem?currentSchema=mockidentitysystem
spring.datasource.username=postgres
spring.datasource.password=mosip123
spring.datasource.driver-class-name=org.postgresql.Driver

spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL95Dialect
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
spring.datasource.password=${db.dbuser.password}

#------------------------------------ Key-manager specific properties --------------------------------------------------
#Crypto asymmetric algorithm name
Expand Down Expand Up @@ -38,9 +36,19 @@ mosip.kernel.crypto.sign-algorithm-name=RS256
#Certificate Sign algo name
mosip.kernel.certificate.sign.algorithm=SHA256withRSA

mosip.kernel.keymanager.hsm.config-path=local.p12
mosip.kernel.keymanager.hsm.keystore-type=PKCS12
mosip.kernel.keymanager.hsm.keystore-pass=local
#mosip.kernel.keymanager.hsm.config-path=local.p12
#mosip.kernel.keymanager.hsm.keystore-type=PKCS12
#mosip.kernel.keymanager.hsm.keystore-pass=local

#Type of keystore, Supported Types: PKCS11, PKCS12, Offline, JCE
mosip.kernel.keymanager.hsm.keystore-type=PKCS11
# For PKCS11 provide Path of config file.
# For PKCS12 keystore type provide the p12/pfx file path. P12 file will be created internally so provide only file path & file name.
# For Offline & JCE property can be left blank, specified value will be ignored.
mosip.kernel.keymanager.hsm.config-path=/etc/softhsm2.conf
# Passkey of keystore for PKCS11, PKCS12
# For Offline & JCE proer can be left blank. JCE password use other JCE specific properties.
mosip.kernel.keymanager.hsm.keystore-pass=${softhsm.mock.identity.system.security.pin}

mosip.kernel.keymanager.certificate.default.common-name=www.mosip.io
mosip.kernel.keymanager.certificate.default.organizational-unit=MOSIP-TECH-CENTER
Expand All @@ -62,6 +70,9 @@ mosip.kernel.keymanager-service-validate-url=https://${mosip.hostname}/keymanage
mosip.kernel.keymanager.jwtsign.validate.json=false
mosip.keymanager.dao.enabled=false
crypto.PrependThumbprint.enable=true
## ------------------------------------------- Integrations ------------------------------------------------------------
#Mock IDA integration props

spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL95Dialect
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
mosip.esignet.mock.authenticator.ida.otp-channels=email,phone

0 comments on commit e7b784b

Please sign in to comment.