Topic: i read a openssl code ?
it works like this :
use this public key:
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBANA0SPVdEgBMCBo4WMeKl6lEM8swJsu+8Rq0usMkdcq8GxsD445x+EtF
+Dmalx6rSR5M7mNARLdsALd2pr3HVLuSSe4bCC26u1PBsOVeszhEzdr7NWiGy3bI
fW6ddTCt0VMC75PrsVmCB2oavp8GKI09Y0TsegxiM6MN6bj33eJtAgMBAAE=
-----END RSA PUBLIC KEY-----
to create a CERTIFICATE like this :
-----BEGIN CERTIFICATE-----
MIICNjCCAR6gAwIBAgIBADANBgkqhkiG9w0BAQUFADAAMB4XDTE0MDQyOTA5NDUx
NloXDTI0MDQyNjA5NDUxNlowADCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
0DRI9V0SAEwIGjhYx4qXqUQzyzAmy77xGrS6wyR1yrwbGwPjjnH4S0X4OZqXHqtJ
HkzuY0BEt2wAt3amvcdUu5JJ7hsILbq7U8Gw5V6zOETN2vs1aIbLdsh9bp11MK3R
UwLvk+uxWYIHahq+nwYojT1jROx6DGIzow3puPfd4m0CAwEAAaM/MD0wDAYDVR0T
AQH/BAIwADAdBgNVHQ4EFgQUtWRO98IeTLxG5ipoGke6b9MW9GMwDgYDVR0PAQH/
BAQDAgWgMA0GCSqGSIb3DQEBBQUAA4IBAQA4rssG3LKI1ct33DHtQecmZkAYcruN
yyv4sdoJT/GLnrqTemJZO8L9DRZsde7jLABmqkVqMO02Iw2mDnMuHBLm8U1BqqL5
D5/aQ8BnUpnDk6MOsUutaICNSgrCwd2JYf/ZVVrKzprMCHmP/3nsN/pDUPmD9LE3
A2ukE2ExOv7POAad5aMwsa7lM57CtWvvlz4YFDc7SCHsxJFrJO2U3R8ZaDQEMF+C
m8KfaNTCPVQVtdRV6wB5+zkS6AeNFnpWSzY3wAa8c+hnxXnaHYzzTH4Mw0BtYrbR
syeFq6z1b8ag7ksaTt3Hou8Ysp50zxlbZnH3h62CD6QBmLqOWV6In8Qs
-----END CERTIFICATE-----
and how i can use cyassl embedded SSL to do this ?