Hi,
This is a classical C bug : the parameter cert of the function
createCertificate is passed by value instead of being passed by
reference as it should be since this function modifies its content. So,
in order to solve your problem, change the declaration of
createCertificate as follows :
I am trying to load an old certificate, take the subject line and make a
new certificate signed with my self signed certificate. I am sure that
it is something obvious that I am overlooking, but no matter what I try
I always fail when I try to check the private key of the new
certificate.
I ha
Hi Sebastian,
On Jan 19, 2011, at 11:50 AM, Sebastian Proca wrote:
> Thank you for your help! I understand now the way that this application
> should be used. Yet, I didn't manage to obtain a working dtls session.
> After I start the server :
>
> # ./dtls_udp_echo
>
> I start the client, but I
In addition to the adding the IP address to the cert with
"subjectAltName=IP:10.0.0.1"; I added the IP address twice (probably didn't
need to), using "subjectAltName=IP:10.0.0.1,DNS:10.0.0.1"
You might want to add DNS:host.mydomain.com