Hi,
If I execute the following in a workspace I get a resumable UHE indicating CA Not in Trust Registry.
httpClient := HttpClient new.
If you resume you can see that Stripe responds with code 200 which is correct.
In order to avoid the UHE my reaction was to extract the certificates from the chain with chain first asPEMString
to add them to the default registry, if you execute the next snipet you can see this also fails.
The question how to make my HttpRequest proceed with certificate hurdles.
Security.X509.X509Registry default addTrusted: '-----BEGIN CERTIFICATE-----
Maarten MOSTERT
28 Av Alphonse Denis 83400 Hyères, France +33 676411296 _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi Maarten, with your Security.X509.X509Registry default addTrusted: ‘...’ I also get: uhe: mnu: #subjectDNInBytes. But if I save your certificate into a file ('test.crt'
simple text file), and use X509Registry readTrustedCertificatesFromFile: 'test.crt'. it seems to work. You can inspect the Security.X509.X509Registry default trustedCertificates. I hope this helps, Janos From: [hidden email] [mailto:[hidden email]]
On Behalf Of [hidden email] Hi, If I execute the following in a workspace I get a resumable UHE indicating CA Not in Trust Registry. httpClient := HttpClient new. If you resume you can see that Stripe responds with code 200 which is correct. In order to avoid the UHE my reaction was to extract the certificates from the chain with
chain first asPEMString to add them to the default registry, if you execute the next snipet you can see this also fails. The question how to make my HttpRequest proceed with certificate hurdles. Security.X509.X509Registry default addTrusted:
'-----BEGIN CERTIFICATE----- Maarten MOSTERT 28 Av Alphonse Denis 83400 Hyères, France +33 676411296 _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi Janos,
Thank you, this got me a step further on the Stripe API.
Maarten
28 Av Alphonse Denis 83400 Hyères, France +33 676411296
Hi Maarten,
with your Security.X509.X509Registry default addTrusted: ‘...’
I also get: uhe: mnu: #subjectDNInBytes.
But if I save your certificate into a file ('test.crt' simple text file), and use X509Registry readTrustedCertificatesFromFile: 'test.crt'.
it seems to work.
You can inspect the Security.X509.X509Registry default trustedCertificates.
I hope this helps, Janos
From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Hi,
If I execute the following in a workspace I get a resumable UHE indicating CA Not in Trust Registry.
httpClient := HttpClient new.
If you resume you can see that Stripe responds with code 200 which is correct.
In order to avoid the UHE my reaction was to extract the certificates from the chain with chain first asPEMString
to add them to the default registry, if you execute the next snipet you can see this also fails.
The question how to make my HttpRequest proceed with certificate hurdles.
Security.X509.X509Registry default addTrusted: '-----BEGIN CERTIFICATE-----
Maarten MOSTERT
28 Av Alphonse Denis 83400 Hyères, France +33 676411296
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |