Anonymous_User Absent Member.
Absent Member.

Re: SSL-securing User App on Windows


If I am reading your server.xml file correctly, you have a "-->" where
it shouldn't be. See the last line below:


<!-- SSL/TLS Connector configuration using the admin devl guide
keystore
<Connector protocol="HTTP/1.1" SSLEnabled="true"
port="8443" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"
keystorePass="rmi+ssl" sslProtocol = "TLS" />
-->
<!-- SSL/TLS Connector using custom keystore and OSUWMC-signed
cert -db- >
<Connector protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="100" strategy="ms"
maxHttpHeaderSize="8192"
emptySessionPath="true"
port="8443" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/keys.keystore"
keystorePass="[REDACTED]" sslProtocol = "TLS" />

-->


--
celsolima
------------------------------------------------------------------------
celsolima's Profile: https://forums.netiq.com/member.php?userid=260
View this thread: https://forums.netiq.com/showthread.php?t=51115

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: SSL-securing User App on Windows

celsolima,

>
> If I am reading your server.xml file correctly, you have a "-->" where
> it shouldn't be. See the last line below:
>


You must not be reading it correctly, because when I removed it, JBoss
failed to load with a "premature end of file" warning.


Thanks though.



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: SSL-securing User App on Windows


<!-- SSL/TLS Connector configuration using the admin devl guide keystore
<Connector protocol="HTTP/1.1" SSLEnabled="true"
port="8443" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"
keystorePass="rmi+ssl" sslProtocol = "TLS" />
-->
<!-- SSL/TLS Connector using custom keystore and OSUWMC-signed
cert -db- >
<Connector protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="100" strategy="ms"
maxHttpHeaderSize="8192"
emptySessionPath="true"
port="8443" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/keys.keystore"
keystorePass="[REDACTED]" sslProtocol = "TLS" />

-->

Problem is, you've opened the comments "<!-- SSL/TLS" then closed it
afterwards.....only removing the final "-->" makes the rest of the file
a comment (hence "end of file" error on startup)....need to also change
"cert -db- >" to "cert -db- -->", then you can remove the last "-->"


--
ScorpionSting
------------------------------------------------------------------------
ScorpionSting's Profile: https://forums.netiq.com/member.php?userid=469
View this thread: https://forums.netiq.com/showthread.php?t=51115

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: SSL-securing User App on Windows

ScorpionSting,
>
> Problem is, you've opened the comments "<!-- SSL/TLS" then closed it
> afterwards.....only removing the final "-->" makes the rest of the file
> a comment (hence "end of file" error on startup)....need to also change
> "cert -db- >" to "cert -db- -->", then you can remove the last "-->"
>


That did the trick. Thanks.



0 Likes
Highlighted
Anonymous_User Absent Member.
Absent Member.

Re: SSL-securing User App on Windows


Have a peek at my 'Cool Solution' (http://tinyurl.com/l4th6gv)
steps....its based on a Linux install, but can be easily adapted for
Windows...


--
ScorpionSting
------------------------------------------------------------------------
ScorpionSting's Profile: https://forums.netiq.com/member.php?userid=469
View this thread: https://forums.netiq.com/showthread.php?t=51115

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.