SSL in management URL
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java, spring-boot
- Domain
- backend
Research direction
Start by reproducing the servlet setup with the Gateway configuration shown, including server SSL on port 443 and management SSL disabled on port 80. Trace how the Eureka registration builds managementUrl and healthUrl, then verify that both use http while serviceUrl remains https and run the relevant project tests.
Written by the indexing model from the issue text.
Description
Spring Boot Admin Server information
-
Version:
Spring boot (spring-boot-dependencies): 3.4.5
Spring Cloud (spring-cloud-dependencies): 2024.0.1
Spring Admin (spring-boot-admin-dependencies): 3.4.5 -
Webflux or Servlet application:
servlet application
Client information
-
Spring Boot versions:
Spring boot (spring-boot-dependencies): 3.4.5
Spring Cloud (spring-cloud-dependencies): 2024.0.1
Spring Admin (spring-boot-admin-dependencies): 3.4.5 -
Used discovery mechanism:
eureka -
Webflux or Servlet application:
servlet application
Description
Hi Everyone
I got a Gateway (Eureka) and a Spring Boot Admin Server running in a Docker Network.
Now i got my Gateway (Server Properties) configured with ssl and listening on Port 443 but my Actuator endpoints (configured with management) are without ssl and listening on Port 80. ()
Gateway config:
server:
port: 443
ssl:
enabled: true
bundle: server
....
management:
server:
port: 80
ssl:
enabled: false
The spring boot admin client creates the management url correctly (takes port 80) but it does not apply ssl.enabled=false
In the Admin Server Journal i see my gateway registrytion with following:
{
"registration": {
"name": "GATEWAY-SERVICE",
"managementUrl": "https://172.18.0.16:80/actuator",
"healthUrl": "https://172.18.0.16:80/actuator/health",
"serviceUrl": "https://172.18.0.16:443",
"source": "discovery",
"metadata": {
"prometheus.path": "/actuator/prometheus",
"management.port": "80"
}
}
}
managementUrl & healthUrl should not be with https.
I think I could override the Url with spring.boot.client.management-url as quickfix
If you need more information please ask.
Thx
- Dominant language
- Java
- Stars
- 12.9k
- Forks
- 3.2k
- Avg merge
- 23h 31m
- Merged PRs (30d)
- 72
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from codecentric/spring-boot-admin
-
Bug: Dependency Trees overflows the call stack on cyclic SBOM dependency graphsPossibly taken @faystmax claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 68/100
codecentric/spring-boot-admin#5746 ·
Maintainers usually reply within 1 day
-
Bug: Dependency Trees uses dependencies[0] as root instead of metadata.component.bom-refPossibly taken @faystmax claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 68/100
codecentric/spring-boot-admin#5745 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
codecentric/spring-boot-admin#5743 ·
Maintainers usually reply within 1 day
-
Bug: Filtering rules are not synchronized between SBA nodesPossibly taken @SteKoe claimed this 6 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
codecentric/spring-boot-admin#5721 · 3 comments ·
Maintainers usually reply within 1 day
-
Bug: Multiple notifications from multiple instancesPossibly taken @YadavKshitiz claimed this 8 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 55/100
codecentric/spring-boot-admin#5716 · 1 comment ·
Maintainers usually reply within 1 day
All issues in codecentric/spring-boot-admin
Similar issues
-
GeminiUtil placeholder user turn ("Continue output. DO NOT look at this line ...") is flagged by prompt injection filtersPossibly taken @innoprej claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
salesforce/multicloudj#667 ·
Maintainers usually reply within 1 day
-
Add ZammadPossibly taken @Arslan-TR claimed this today. Openrequest
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
endoflife-date/endoflife.date#11298 · 1 comment ·
Maintainers usually reply within 1 day
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
electron tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day