Jump to content
We've recently updated our Privacy Statement, available here ×

tbar0711

Members
  • Posts

    3
  • Joined

  • Last visited

tbar0711's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi there, I've got a running JasperServer 3.7.0. The JasperServer is running on a JBoss 5.1.0 and is SSL enabled. There is a redirect from Port 8080 to 8443. Now I would like to connect via Repository Navigator (iReport 3.7.1). My JasperServer URL is https://myserver:8443/jasperserver/services/repository. If I try to connect from Repository Navigator I get this Error: Error: ; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. If I try to connect with the JasperServer URL http://myserver:8080/jasperserver/services/repository I get this error: Error: (302)Moved Temporarily I think I am not the only one who wants to connect to a SSL enabled JasperServer so I hope anyone could help. Thanks in advance. Best regards Tom
  2. 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 Regards Tom Code: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" />
  3. Hi, I'm trying to configure an LDAP Authentication for JasperServer. I'm using JasperServer 3.7 and JBoss 5.1.0 GA. I've got the jasperserver.war within my JBoss-Deploy-Directory. I already configured the applicationContext-security.xml for LDAP-Authentication. It works fine, if I use ldap://ldap.myhost:389/. Now I would like to use SSL. So I changed the URL to ldaps://ldap.myhost:636/. My LDAP Server is configured correctly. My ldap.truststore File is located in the JBoss conf directory. I have tried many things and I'm always getting the same error: WARN [LoggerListener] Authentication event AuthenticationFailureServiceExceptionEvent: user0815; details: org.springframework.security.ui.WebAuthenticationDetails@ef30: RemoteIpAddress: 192.168.27.14; SessionId: 32C32BEABE4531C000201930E385046B; exception: Unable to connect to LDAP server; nested exception is javax.naming.CommunicationException: simple bind failed: ldap.myhost:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]; nested exception is org.springframework.ldap.UncategorizedLdapException: Unable to connect to LDAP server; nested exception is javax.naming.CommunicationException: simple bind failed: ldap.myhost:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] Is there a possibility to give JasperServer the location of my ldap.truststore file? I don't know what to do. Perhaps someone can help me? Thanks in advance. Tom
×
×
  • Create New...