[OpenSIPS-Users] Trying to get TLS working with OpenSips 1.5
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Apr 23 22:24:44 CEST 2009
Hi Anil,
Typical error cases:
- the private key file does not exist or you do not have permission
to read that file
- the private key file is not in PEM (base64 encoded) format.
- if the private key file is encrypted, the password is not correct
or no password was provided
- if you loaded a certificate file before issuing this function, the
public key in that certificate does not match the corresponding private
key in the private key file.
Regards,
Bogdan
Anil M Pannikode (hotmail) wrote:
>
> I am getting the following error in the log files
>
>
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: DBG:core:load_certificate:
> entered
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: DBG:core:load_certificate:
> '//etc/opensips/tls/user/certonly.pem' successfuly loaded
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: DBG:core:load_ca: Entered
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: DBG:core:load_ca: CA
> '//etc/opensips/tls/user/user-calist.pem' successfuly loaded
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: DBG:core:load_private_key:
> entered
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: ERROR:core:load_private_key:
> unable to load private key file
> '//etc/opensips/tls/user/privatekey.pem'. Retry (2 left) (check
> password case)
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: ERROR:core:load_private_key:
> unable to load private key file
> '//etc/opensips/tls/user/privatekey.pem'. Retry (1 left) (check
> password case)
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: ERROR:core:load_private_key:
> unable to load private key file
> '//etc/opensips/tls/user/privatekey.pem'. Retry (0 left) (check
> password case)
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: ERROR:core:load_private_key:
> unable to load private key file '//etc/opensips/tls/user/privatekey.pem'
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: CRITICAL:core:main: could not
> initialize tls, exiting...
>
> Apr 23 12:43:55 pc10-10-10-193 opensips: DBG:dispatcher:destroy:
> destroying module ...
>
>
>
> Anybody know what the issues or where to set the password ?
>
>
>
> Anil
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list