Hi,
Kaleb J. Himes wrote:Hi hyongsop,
The attachment did not make it through, could you re-send or copy into a "code" block here?
A key length of 2432 is a non-standard key length. Typically RSA keys are evenly divisible by 1024 (1024, 2048, 3072, 4096... etc). I would be curious to see it regardless.
I added the content of the x509-ca.pem file at the end.
Kaleb J. Himes wrote: Have you tested against the BC server using the client example that ships with wolfSSL?
This is the scenario that I've been trying to get it going without success.
I've just tried the wolfssl client with the wolfssl server using the BC's certs, and they worked (after disabling the CRL check in the Server first). Below show how I ran the server and client:
./examples/server.sh -u -v 2 -c ../certs/bc/x509-server.pem -k ../certs/bc/x509-server-key.pem -A ../certs/bc/x509-ca.pem
./examples/client.sh -u -v 2 -c ../certs/bc/x509-client.pem -k ../certs/bc/x509-client-key.pem -A ../certs/bc/x509-ca.pem
So I doubt that the problem is with the certs themselves. Since the client didn't generate the no signer error either in the above, the only other source of the problem is the cert sent by the BC server, but so far, I don't see how that can be...
Any other suggestions? Is there a way to see the log messages generated by the Client and Server?
Thanks again,
--Hyong
cat examples/certs/bc/x509-ca.pem
-----BEGIN CERTIFICATE-----
MIIDZzCCAh+gAwIBAgIEUqKcyzANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDExhC
b3VuY3lDYXN0bGUgVExTIFRlc3QgQ0EwHhcNMTMxMjA3MDM1ODAzWhcNMzMxMjAy
MDM1ODAzWjAjMSEwHwYDVQQDExhCb3VuY3lDYXN0bGUgVExTIFRlc3QgQ0EwggFS
MA0GCSqGSIb3DQEBAQUAA4IBPwAwggE6AoIBMQDMhzecH5G7Hux5I8B4ftDYKQfB
EpGBlFB2Yvbn3JIbtEpnY3utJokWGdbTY5oXn8amSRZFP9ZJlBDPrAyop//UfuJ0
A1n2wDiFHUcPMc1Dg67uH44fGib59tnOV4a0w4xF18FVgPH++2Vy/ZY/VjSAIfMd
U3nznh1p744dsEjTqj4euJjcy9CCvpW7A0i0ZuXztkkNZvcVnskCrvuHKshAZoPo
dtIW1G66evZQCGQIJHLyASAifQFe1c8Vl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