problem with SUSEConnect

Working from SUSE on a Raspberry Pi 3B. Did not register on install, so trying with SUSEConnect.
When I enter: SUSEConnect -r -e
I get the following error:
SSL verification failed: certificate not yet valid
Certificate issuer: ?C=US/O=DigCert Inc/OU=www.digicert.com/CN=DigCert High Assurance EV Root CA
Certificate subject: ?C=US/O=DigCert Inc/OU=www.digicert.com/CN=DigCert High Assurance EV Root CA
SUSEConnect error:OpenSSL::SSL::SSLError: SSL_connect returned =1 errno=0 state=error: certificate verify failed

If I enter same with : -debug" appended, I get:
SUSEConnect error: SUSE::Connect::CannotBuildBasicAuth: Cannot read username and password from /etc/zypp/credentials.d/SCCcredentials

There is no /etc/zypp/credentials.d/SCCcredentials file.

What do I need to do?

On 28/03/17 19:54, chrisnevison wrote:
[color=blue]

Working from SUSE on a Raspberry Pi 3B. Did not register on install, so
trying with SUSEConnect.
When I enter: SUSEConnect -r -e
I get the following error:
SSL verification failed: certificate not yet valid
Certificate issuer: ?C=US/O=DigCert Inc/OU=www.digicert.com/CN=DigCert
High Assurance EV Root CA
Certificate subject: ?C=US/O=DigCert Inc/OU=www.digicert.com/CN=DigCert
High Assurance EV Root CA
SUSEConnect error:OpenSSL::SSL::SSLError: SSL_connect returned =1
errno=0 state=error: certificate verify failed

If I enter same with : -debug" appended, I get:
SUSEConnect error: SUSE::Connect::CannotBuildBasicAuth: Cannot read
username and password from /etc/zypp/credentials.d/SCCcredentials

There is no /etc/zypp/credentials.d/SCCcredentials file.

What do I need to do?[/color]

Firstly please note there is a forum dedicated to SUSE Linux Enterprise
Server for Raspberry Pi @
https://forums.suse.com/forumdisplay.php?107-SLES-for-Raspberry-Pi

The “certificate is not yet valid” error message suggests that time is
not correctly configured - please see
https://wiki.microfocus.com/index.php/SUSE/SLES/Raspberry_Pi#Certificate_is_not_yet_valid

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

[QUOTE=chrisnevison;37291]Working from SUSE on a Raspberry Pi 3B. Did not register on install, so trying with SUSEConnect.
When I enter: SUSEConnect -r -e
I get the following error:
SSL verification failed: certificate not yet valid
Certificate issuer: ?C=US/O=DigCert Inc/OU=www.digicert.com/CN=DigCert High Assurance EV Root CA
Certificate subject: ?C=US/O=DigCert Inc/OU=www.digicert.com/CN=DigCert High Assurance EV Root CA
SUSEConnect error:OpenSSL::SSL::SSLError: SSL_connect returned =1 errno=0 state=error: certificate verify failed

If I enter same with : -debug" appended, I get:
SUSEConnect error: SUSE::Connect::CannotBuildBasicAuth: Cannot read username and password from /etc/zypp/credentials.d/SCCcredentials

There is no /etc/zypp/credentials.d/SCCcredentials file.

What do I need to do?[/QUOTE]

Type:

env

look to the PATH variable, is there any variable that has SSL / ssl in it.

if so then unset

Example if you are running Splunk you can do

unset LD_LIBRARY_PATH