cfldap and ssl

263 visningar
Hoppa till det första olästa meddelandet

Charles Heizer

oläst,
17 feb. 2015 11:41:572015-02-17
till lu...@googlegroups.com
Hello,
Is cfldap using secure functional? I'm trying a quick test which works in OpenBD but I keep getting a error saying "The Error Occurred in line 14" ... secure="CFSSL_BASIC"

Thanks,
Charles


Robert Munn

oläst,
17 feb. 2015 14:08:432015-02-17
till lu...@googlegroups.com
I am using cfldap with cfssl_basic and have no problems on Lucee.


--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/29fa8ecd-d369-452d-8690-b7a513b0dc8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Munn

oläst,
17 feb. 2015 14:19:362015-02-17
till lu...@googlegroups.com
FYI, on a clean install on my dev system I had to import the self-signed SSL cert for my dev LDAP instance into the cacerts file that Lucee uses. 

Charles Heizer

oläst,
23 feb. 2015 14:15:332015-02-23
till lu...@googlegroups.com
Interesting. I did not try the cacerts file. In OpenBD, and this is not an OpenBD thing but via Tomcat I use the 

CATALINA_OPTS="$CATALINA_OPTS -Djavax.net.ssl.trustStore=/path/to/certStore"

Is the cacerts different than the javax.net.ssl.trustStore?

Thanks,
Charlie

Robert Munn

oläst,
23 feb. 2015 14:43:352015-02-23
till lu...@googlegroups.com
The default keystore in Lucee is here:

./WEB-INF/lib/lucee-server/context/security/cacerts

You should not need to define it in CATALINA_OPTS. Just use keytool to import the certificates you need the application to trust.




Charles Heizer

oläst,
23 feb. 2015 16:44:492015-02-23
till lu...@googlegroups.com
Sweet! Thank you, it now works fine!

By any chance is there a config to reference a different cacerts file?

Thanks,
Charlie

denstar

oläst,
23 feb. 2015 21:58:502015-02-23
till lu...@googlegroups.com
On 2/23/15 2:44 PM, Charles Heizer wrote:
> Sweet! Thank you, it now works fine!
>
> By any chance is there a config to reference a different cacerts file?

File a ticket for it, por favor-- that should be an easy one.

I don't know if these ever got added, but they'd be swell to have as well:

http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html

Mainly http.proxyHost and http.proxyPort I think, and it's been years
since I checked, so they might be in there already, but it came to mind,
since they're handy props too.

FWIW a quick grep didn't see 'em being read anywhere.

-Den

Jamie Jackson

oläst,
26 feb. 2015 11:32:172015-02-26
till lu...@googlegroups.com
Let's not forget the cute GUI cert installer in the server admin: Server Admin > Services > SSL Certificates 

(I only learned about it a couple days ago.)

Robert Munn

oläst,
28 feb. 2015 21:26:422015-02-28
till lu...@googlegroups.com

In my case I needed to import a self-signed cert manually because the name does not resolve correctly.  I think that is a common enough problem that it would be useful for the import function to have a way to upload a cert file.



AJ Mercer

oläst,
15 apr. 2015 23:58:382015-04-15
till lu...@googlegroups.com
Can the Lucee Admin SSL installer handled wildcard self-signed certificates?

I keep keep this error (in Lucee [5 express with jre1.8.0_40], Railo 4.2 and ACF 8)
cfhttp
Struct
charset
string
errordetail
stringUnknown host: peer not authenticated
filecontent
stringConnection Failure
header
string
mimetype
stringUnable to determine MIME type of file.
responseheader
Struct
statuscode
stringConnection Failure. Status code unavailable.
text
booleantrue

SSL Certificates from host tyrion.tradecentre.io

SubjectIssuer
EMAILADDRESS=cr...@lwl.com, CN=*.tradecentre.io, OU=Technology, O=LWL Pty Ltd, L=Perth, ST=Western Australia, C=AUEMAILADDRESS=cr...@lwl.com, CN=*.tradecentre.io, OU=Technology, O=LWL Pty Ltd, L=Perth, ST=Western Australia, C=AU


For more options, visit https://groups.google.com/d/optout.

Robert Munn

oläst,
16 apr. 2015 00:52:152015-04-16
till lu...@googlegroups.com
It should be able to handle self-signed certs. You will need to add the certificate authority for your self-signed cert to the Java trusted certificate authority store, so you need to import the public certificate chain for the ca that signed the cert into cacerts.

AJ Mercer

oläst,
16 apr. 2015 01:45:102015-04-16
till lu...@googlegroups.com
I think the issue is with the wildcard certificate
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/6B9FD223-E5F9-4E61-ACD1-F0C29FECA85F%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

Robert Munn

oläst,
16 apr. 2015 02:34:102015-04-16
till lu...@googlegroups.com
I may give this a go and see what I can do with it. I’ll let you know.

Robert

Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden