spring-cloud-config

How to encrypt Jasypt.encryptor.pasword property while using in Jhipster registry App's configuration file

你说的曾经没有我的故事 提交于 2020-08-25 09:19:38
问题 I am using JHipster registry APP and used local encryption by using Jasypt library to encrypt username and password from a centralized configuration for all micro-services. While doing this I observed the moment I try to encrypt default username and password (admin/admin) ,encrypted as mentioned below in the central-config folder , I have configured gateway.yml ( central configuration file for all micro-services common configurations) spring: datasource: type: com.zaxxer.hikari

Failed to disable decryption server side in spring cloud config server

放肆的年华 提交于 2020-08-05 03:56:20
问题 According to the spring cloud config documentation, if we want to disable server side decryption and handle it by the client, we can put in server’s application.yml the following property : spring: cloud: config: server: encrypt.enabled: false In server side, a define an env variable ENCRYPT_KEY then a call a curl to get encrypted password, I update the configuration file then I commit it export ENCRYPTED=`curl config-server/encrypt -d ms-password-prod` echo "spring.data.mongodb.paswword='

Failed to disable decryption server side in spring cloud config server

回眸只為那壹抹淺笑 提交于 2020-08-05 03:56:20
问题 According to the spring cloud config documentation, if we want to disable server side decryption and handle it by the client, we can put in server’s application.yml the following property : spring: cloud: config: server: encrypt.enabled: false In server side, a define an env variable ENCRYPT_KEY then a call a curl to get encrypted password, I update the configuration file then I commit it export ENCRYPTED=`curl config-server/encrypt -d ms-password-prod` echo "spring.data.mongodb.paswword='

Spring config server security encryption and decryption not working

淺唱寂寞╮ 提交于 2020-07-08 22:59:43
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not

Spring config server security encryption and decryption not working

岁酱吖の 提交于 2020-07-08 22:59:13
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not

Spring config server security encryption and decryption not working

a 夏天 提交于 2020-07-08 22:56:55
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not

Spring config server security encryption and decryption not working

老子叫甜甜 提交于 2020-07-08 22:54:59
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not