tbar0711 Posted October 5, 2010 Share Posted October 5, 2010 Hi there,I'm using JBoss 5.1.0.GA. I've got a working webservice, which starts the reportgeneration on the jasperserver and returns the result. Everything's fine so far.Now I want to enable SSL. So I changed the web.xml (deploy / jasperserver.war / WEB-INF /). If I start my Webservice now I'm getting: (302) Moved Temporarily.If I comment the connector port 8080 within server.xml (deploy / jbossweb.sar / ) I'm getting: Connection refused.If I don't start the webservice and try to access the jasperserver Login Page via Browser (http://myjasperserver:8080/jasperserver) it automatically redirects me to https and everything's fine. I only have a problem to use my webservice over SSL.Could anyone tell me what I am doing wrong or what I have to do to get it working?Thanks in advance. Best RegardsTomCode:web.xml: <security-constraint> <web-resource-collection> <web-resource-name>JasperServerWebApp</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <user-data-constraint> <!-- SSL disabled <transport-guarantee>NONE</transport-guarantee> --> <!-- SSL enabled --> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> server.xml: <!-- <Connector port="8080" address="${jboss.bind.address}" redirectPort="8443" /> --> <!-- Add this option to the connector to avoid problems with .NET clients that don't implement HTTP/1.1 correctly restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$" --> <Connector port="8443" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" disableUploadTimeout="true" acceptCount="100" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreFile="${jboss.server.home.dir}/conf/websslcert.p12" keystoreType="PKCS12" keystorePass="mypassword" sslProtocol = "TLS" compression="on" compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript" /> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now