Execute the commands of this link: "Try this:
https://stackoverflow.com/a/39087173/971547"
There was no error importing the file "pem".
When I run the program, the page works fine without "Https: //", but when I use the "Https: //", the browsers show:
ERR_SSL_PROTOCOL_ERROR
For an additional track I have captured the LOG:
2018-10-16 11:00:19.338:INFO::main: Logging initialized @876ms to org.eclipse.jetty.util.log.StdErrLog
PORT SERVER WEB: 8081
POrt SSL: 443
2018-10-16 11:00:20.265:INFO
ejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 10.0.2+13
2018-10-16 11:00:20.347:INFO
ejs.session:main: DefaultSessionIdManager workerName=node0
2018-10-16 11:00:20.347:INFO
ejs.session:main: No SessionScavenger set, using defaults
2018-10-16 11:00:20.351:INFO
ejs.session:main: node0 Scavenging every 660000ms
2018-10-16 11:00:20.477:INFO
ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@1af2d44a{/,file:///C:/ServerWEB/www/,AVAILABLE}
2018-10-16 11:00:20.486:INFO
ejs.AbstractNCSARequestLog:main: Opened C:\ServerWEB\logs\b4j-2018_10_16.request.log
2018-10-16 11:00:20.533:INFO
ejs.AbstractConnector:main: Started ServerConnector@2e6a8155{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
2018-10-16 11:00:21.112:INFO
ejus.SslContextFactory:main: x509=X509@45d84a20(jetty,h=[server.com],w=[]) for
SslContextFactory@52f27fbd[provider=null,keyStore=file:///C:/ServerWEB/jetty.keystore,trustStore=null]
2018-10-16 11:00:21.385:INFO
ejs.AbstractConnector:main: Started ServerConnector@f58853c{SSL,[ssl, http/1.1]}{0.0.0.0:443}
2018-10-16 11:00:21.386:INFO
ejs.Server:main: Started @2936ms
***
SERVIDOR INICIADO EL: 16/10/2018 11:00:21
CONNECTED TO THE DATABASE: OK
***
SERVER STARTED IN THE PROCESS: 6772
And when I try to navigate with "Https: //" this is in LOG:
2018-10-16 11:00:49.853:WARN
ejh.HttpParser:qtp2070529722-17: Illegal character 0x16 in state=START for buffer HeapByteBuffer@663efaf6[p=1,l=517,c=8192,r=516]={\x16<<<\x03\x01\x02\x00\x01\x00\x01\xFc\x03\x03\x83\xEe\x1b\xE1\xAa\xFf\xE3...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-10-16 11:00:49.850:WARN
ejh.HttpParser:qtp2070529722-23: Illegal character 0x16 in state=START for buffer HeapByteBuffer@55665d5b[p=1,l=517,c=8192,r=516]={\x16<<<\x03\x01\x02\x00\x01\x00\x01\xFc\x03\x03\x15^*\x0b\x89\xA1\x12...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>Extensions: perme...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-10-16 11:00:49.947:WARN
ejh.HttpParser:qtp2070529722-27: Illegal character 0x16 in state=START for buffer HeapByteBuffer@55665d5b[p=1,l=216,c=8192,r=215]={\x16<<<\x03\x01\x00\xD3\x01\x00\x00\xCf\x03\x03\x7fm\xCe\xF9\x14\xA1\x96...\x17\x00\x18\x00\x1b\x00\x03\x02\x00\x02\x8a\x8a\x00\x01\x00>>>.1uP\x00\x00\x00\x0b\x00\x02\x01\x00\x003\x00+\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
How should I fix this?
Thank you.