fix bug support EC certificate
support OPENSSL_VERSION_NUMBER == 0x10100000L
update document for EC Key generate