Created function to set certificates.
Function prototype for dtls_openssl_set_certs.