Author Topic: Not able to generate Certificates  (Read 8816 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Not able to generate Certificates
« on: October 24, 2014, 10:10:28 AM »
Hello,
Days now Im trying to generate a self-signed certificate for my testing server, but Im not able to do that. I dont know whats wrong, but every time Im trying to generate one Im getting the following Warnings/Errors, and the cert files that are created are empty.

Code: [Select]
Warning: openssl_csr_new(): dn: add_entry_by_NID 18 -> (failed; check error queue and value of string_mask OpenSSL option if illegal characters are reported) in /usr/local/cwpsrv/htdocs/resources/admin/modules/ssl_generator.php(1) : eval()'d code(1) : eval()'d code on line 11

Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/cwpsrv/htdocs/resources/admin/modules/ssl_generator.php(1) : eval()'d code(1) : eval()'d code on line 14

Warning: openssl_csr_export() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/modules/ssl_generator.php(1) : eval()'d code(1) : eval()'d code on line 22

Warning: openssl_x509_export(): cannot get cert from parameter 1 in /usr/local/cwpsrv/htdocs/resources/admin/modules/ssl_generator.php(1) : eval()'d code(1) : eval()'d code on line 22
Files saved to:
/etc/pki/tls/certs/*******.com.csr
/etc/pki/tls/certs/*******.com.cert
/etc/pki/tls/certs/*******.com.key

-----BEGIN PRIVATE KEY-----


-----END PRIVATE KEY-----

error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0E06D06C:configuration file routines:NCONF_get_string:no value

error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0E06D06C:configuration file routines:NCONF_get_string:no value

error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0D07A098:asn1 encoding routines:ASN1_mbstring_ncopy:string too short

error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0E06D06C:configuration file routines:NCONF_get_string:no value error:0E06D06C:configuration file routines:NCONF_get_string:no value

error:0E06D06C:configuration file routines:NCONF_get_string:no value

Offline
*
Re: Not able to generate Certificates
« Reply #1 on: October 24, 2014, 11:59:43 PM »
you can contact support for check of your server
http://centos-webpanel.com/contact
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services