You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by masber masber <ma...@hotmail.com> on 2018/12/01 03:45:56 UTC
not able to setup tomcat 7 to use port 8443
Dear tomcat community,
I am trying to setup tomcat 7.0.69.0 on port 8443 but for some reason no service is listening that port after tomcat is rebooted.
I uncommented the following part in server.xml
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
And then just rebooted tomcat but sudo ss -nolpt | grep 8443 shows nothing
what am I doing wrong?
Re: not able to setup tomcat 7 to use port 8443
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
On 01.12.2018 06:26, masber masber wrote:
> ok,
>
> forcing NIO implementation makes tomcat service to listen port 8443 but now I do a test using curl and the client does not get response from the server.
>
>
> $ curl -I 'https://XXXXXXXXXXXXX:8443/authentication' -H 'Authorization: Basic XXXXXXXXXXXXX' -H 'Content-Type: application/json' -H 'Accept: */*' -v
>
> * Trying XXX.XXX.XXX.XXX...
>
> * TCP_NODELAY set
>
> * Connected to dev.retex.global (XXX.XXX.XXX.XXX) port 8443 (#0)
>
> * ALPN, offering h2
>
> * ALPN, offering http/1.1
>
> * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
>
> * successfully set certificate verify locations:
>
> * CAfile: /etc/ssl/cert.pem
>
> CApath: none
>
> * TLSv1.2 (OUT), TLS handshake, Client hello (1):
>
>
> any thoughts?
Yes : look at the Tomcat logs. They usually contain useful information.
>
>
>
> ________________________________
> From: masber masber <ma...@hotmail.com>
> Sent: Saturday, 1 December 2018 14:45
> To: users@tomcat.apache.org
> Subject: not able to setup tomcat 7 to use port 8443
>
> Dear tomcat community,
>
> I am trying to setup tomcat 7.0.69.0 on port 8443 but for some reason no service is listening that port after tomcat is rebooted.
>
> I uncommented the following part in server.xml
>
>
> <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
>
> maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
>
> clientAuth="false" sslProtocol="TLS" />
>
> And then just rebooted tomcat but sudo ss -nolpt | grep 8443 shows nothing
>
> what am I doing wrong?
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: not able to setup tomcat 7 to use port 8443
Posted by masber masber <ma...@hotmail.com>.
ok,
forcing NIO implementation makes tomcat service to listen port 8443 but now I do a test using curl and the client does not get response from the server.
$ curl -I 'https://XXXXXXXXXXXXX:8443/authentication' -H 'Authorization: Basic XXXXXXXXXXXXX' -H 'Content-Type: application/json' -H 'Accept: */*' -v
* Trying XXX.XXX.XXX.XXX...
* TCP_NODELAY set
* Connected to dev.retex.global (XXX.XXX.XXX.XXX) port 8443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
any thoughts?
________________________________
From: masber masber <ma...@hotmail.com>
Sent: Saturday, 1 December 2018 14:45
To: users@tomcat.apache.org
Subject: not able to setup tomcat 7 to use port 8443
Dear tomcat community,
I am trying to setup tomcat 7.0.69.0 on port 8443 but for some reason no service is listening that port after tomcat is rebooted.
I uncommented the following part in server.xml
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
And then just rebooted tomcat but sudo ss -nolpt | grep 8443 shows nothing
what am I doing wrong?
Re: not able to setup tomcat 7 to use port 8443
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Masber,
On 11/30/18 22:45, masber masber wrote:
> Dear tomcat community,
>
> I am trying to setup tomcat 7.0.69.0 on port 8443 but for some
> reason no service is listening that port after tomcat is
> rebooted.> I uncommented the following part in server.xml
>
>
> <Connector port="8443"
> protocol="org.apache.coyote.http11.Http11Protocol"
>
> maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
>
> clientAuth="false" sslProtocol="TLS" />
>
> And then just rebooted tomcat but sudo ss -nolpt | grep 8443 shows
> nothing
>
> what am I doing wrong?
Where is your certificate configuration? You can't use SSL without a
keystore and stuff like that.
What do the logs say?
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlwFeacACgkQHPApP6U8
pFg7kRAAsFCe/mxf46iv0LpIyGgyqKfrR5DHrs0kipR0ITpOo1tNDFew65z50jgA
HZO1PWiQ5sQZofkqaqALs66Ohfd1ajAemaQqDB8UzelpWMq4+mCx9Yn6CU8zeRbf
kD1PU+WJvZ0AHYrgCFk63wJCyryMXnLUf6SU/pdTBaPD3M3p6gSD8i4rFDVGoUc0
vn203ZP1oEr0QZq+tjAbquXpbY7HCLnl3YVCERgx99FUVd3mGkooo/smProrIWfe
hHYHw81acbRaXPeyYUBc81tyQ7o0Bs2tyBgWqGbvQzBEHbgQv4Jf4cBQeywLg+Yo
nrvYi3eepV0qGUbg5JXM1d0fvMICG/mWzh31MVvgMj4dVzmZixVO07vefJeSZfZb
w9/zAVd6HyoCzcv4k/16dyV+QCy4r8/yRG8BBVCxI0MANI5oKxmLHxnIUvLFMCku
BPXiYwAzsZd9OPVWm/eSsWxgNgxPyNcyKzoIPbtHBOhVx7NLqK539HzV7unGChlx
TVH1t0aqp8P4ZiT3+gWHiF2f8U3SJ8SlTgoWQJpdGyRbEzt8G49kmR9l5aAPyZ7Z
9fyBsH3V09Gl5a+03YfJxJ25aPzTE0HHwUki7y1K/7boJj/9gQGclDZTSuE8DfXW
2v/XgY73umitCR0W/7oM6wDlKt69C5ijZK/Oo/QWaMYULIPGQJE=
=EVA4
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org