Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
It produced this output:[error] 98861#0: *12 no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: xxx.xxx.xxx.xxx, server: 0.0.0.0:80
My web server is (include version):wildfly 31
The operating system my web server runs on is (include version):Linux Centos 8 OS: Rocky 8.9 GreenObsidian
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):nginx version: nginx/1.14.1
Because my test requests to HTTP (port 80) are blocked and HTTPS (port 443) are not configured properly.
But, HTTP requests using port 8080 work fine and reach your wildfly server.
HTTPS requests to port 8443 also reach your wildfly but it uses a self-signed cert and not your Let's Encrypt cert. I don't know anything about wildfly but you need to review its docs on how to configure HTTPS and certificates. Or post this question on the wildfly community forum. https://community.jboss.org/en/wildfly
You have gotten some Let's Encrypt certs in the past two months (link here). Have you ever gotten this working properly?
HttpOnHttpsPort
ERROR
A validation request to this domain resulted in an HTTP request being made to a port that expects to receive HTTPS requests. This could be the result of an incorrect redirect (such as to http://example.com:443/) or it could be the result of a webserver misconfiguration, such as trying to enable SSL on a port 80 virtualhost.
@0ms: Making a request to http://itcmedbr.com/.well-known/acme-challenge/letsdebug-test (using initial IP 186.202.57.170)
@0ms: Dialing 186.202.57.170
@3736ms: Server response: HTTP 400 Bad Request
Hi Bruce, I've a certificate generated by certbot I believe that my problem is in my standalone.xml file if you type itcmedbr.com:80 you will see the nginx welcome page and the symbol of view site information in the bar command. Below is the error generated when I call my domain in the browser.
2024-04-23 18:34:04,038 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = itcmedbr.war_com.mysql.cj.jdbc.Driver_8_0
2024-04-23 18:34:05,460 INFO [org.hibernate.cache.internal.RegionFactoryInitiator] (ServerService Thread Pool -- 80) HHH000025: Second-level cache region factory [org.infinispan.hibernate.cache.v62.InfinispanRegionFactory]
2024-04-23 18:34:05,765 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 80) Envers integration enabled? : true
2024-04-23 18:34:06,560 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 80) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'itcmedbr.war#itcmedbr_PU'
2024-04-23 18:34:48,284 INFO [jakarta.enterprise.resource.webcontainer.faces.config] (ServerService Thread Pool -- 96) Initializing Mojarra 4.0.5 for context '/itcmedbr'
2024-04-23 18:34:57,838 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 96) WFLYUT0021: Registered web context: '/itcmedbr' for server 'default-server'
2024-04-23 18:35:00,389 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("host" => "default-host"),
("filter-ref" => "server-header")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.filter.server-header"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["service jboss.undertow.server.default-server.default-host.filter-ref.server-header is missing [jboss.undertow.filter.server-header]"]
}
2024-04-23 18:35:00,397 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("host" => "default-host"),
("filter-ref" => "x-powered-by-header")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.filter.x-powered-by-header"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["service jboss.undertow.server.default-server.default-host.filter-ref.x-powered-by-header is missing [jboss.undertow.filter.x-powered-by-header]"]
}
2024-04-23 18:35:00,745 INFO [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "itcmedbr.war" (runtime-name : "itcmedbr.war")
2024-04-23 18:35:00,792 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.undertow.filter.server-header (missing) dependents: [service jboss.undertow.server.default-server.default-host.filter-ref.server-header]
service jboss.undertow.filter.x-powered-by-header (missing) dependents: [service jboss.undertow.server.default-server.default-host.filter-ref.x-powered-by-header]
2024-04-23 18:35:01,219 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("internal-model-validation") failed - address: ([]) - failure description: "WFLYCTL0446: ssl-context or alternative(s) [security-realm] is required"
2024-04-23 18:35:01,260 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. - Server configuration file in use: standalone.xml
2024-04-23 18:35:01,640 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = itcmedbr.war_com.mysql.cj.jdbc.Driver_8_0
2024-04-23 18:35:01,799 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
2024-04-23 18:35:01,857 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 21) WFLYUT0022: Unregistered web context: '/itcmedbr' from server 'default-server'
2024-04-23 18:35:02,063 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0019: Host default-host stopping
2024-04-23 18:35:02,429 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
2024-04-23 18:35:02,432 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 40) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'itcmedbr.war#itcmedbr_PU'
I don't know if this forum is the locate to post this problem.
This doesn't seem to be the location for such a problem/request for help.
This has nothing to do with LE:
"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.filter.server-header"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["service jboss.undertow.server.default-server.default-host.filter-ref.server-header is missing [jboss.undertow.filter.server-header]"]