unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35773: hexchat: unable to get local issuer certificate
@ 2019-05-17 13:26 Jeff Bauer
  2019-05-17 17:58 ` Giovanni Biscuolo
  2020-06-10 14:23 ` Royce Strange
  0 siblings, 2 replies; 6+ messages in thread
From: Jeff Bauer @ 2019-05-17 13:26 UTC (permalink / raw)
  To: 35773

I've installed the hexchat 2.14.2 package onto two
different Ubuntu systems (16.04, 18.04), and get the
following error when attempting to log onto freenode:

"Connection failed (unable to get local issuer certificate.? (20))"

There's no problem when I revert back to the official
distro version of hexchat.

I've also installed the 'le-certs' package, but it appears
that hexchat still cannot get the local cert.

Please let me know if there's any further information
I can provide.  Thanks.

-Jeff

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35773: hexchat: unable to get local issuer certificate
  2019-05-17 13:26 bug#35773: hexchat: unable to get local issuer certificate Jeff Bauer
@ 2019-05-17 17:58 ` Giovanni Biscuolo
  2019-05-17 18:27   ` Jeff Bauer
  2020-06-10 14:23 ` Royce Strange
  1 sibling, 1 reply; 6+ messages in thread
From: Giovanni Biscuolo @ 2019-05-17 17:58 UTC (permalink / raw)
  To: Jeff Bauer, 35773

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

Hello Jeff,

Jeff Bauer <jbauer@rubic.com> writes:

[...]

> I've also installed the 'le-certs' package, but it appears
> that hexchat still cannot get the local cert.

AFAIU you nees nss-certs [1] Guix package

Please can you try installing it and report back if this works for you?

HTH! Gio'.

[...]

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35773: hexchat: unable to get local issuer certificate
  2019-05-17 17:58 ` Giovanni Biscuolo
@ 2019-05-17 18:27   ` Jeff Bauer
  2019-05-18  7:24     ` Giovanni Biscuolo
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Bauer @ 2019-05-17 18:27 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: 35773

Giovanni,

Sorry, but the same problem with nss-certs installed.

-Jeff

On Fri, May 17, 2019 at 07:58:15PM +0200, Giovanni Biscuolo wrote:
> Hello Jeff,
>
> Jeff Bauer <jbauer@rubic.com> writes:
>
> [...]
>
> > I've also installed the 'le-certs' package, but it appears
> > that hexchat still cannot get the local cert.
>
> AFAIU you nees nss-certs [1] Guix package
>
> Please can you try installing it and report back if this works for you?
>
> HTH! Gio'.
>
> [...]
>
> --
> Giovanni Biscuolo
>
> Xelera IT Infrastructures

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35773: hexchat: unable to get local issuer certificate
  2019-05-17 18:27   ` Jeff Bauer
@ 2019-05-18  7:24     ` Giovanni Biscuolo
  2019-05-18 12:24       ` Jeff Bauer
  0 siblings, 1 reply; 6+ messages in thread
From: Giovanni Biscuolo @ 2019-05-18  7:24 UTC (permalink / raw)
  To: Jeff Bauer; +Cc: 35773

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

Hello Jeff,

Jeff Bauer <jbauer@rubic.com> writes:

> Sorry, but the same problem with nss-certs installed.

Sorry I gave you a partial solution, the full solition is to add the
documented variables to your env, please read:

https://www.gnu.org/software/guix/manual/en/html_node/X_002e509-Certificates.html

Adding

--8<---------------cut here---------------start------------->8---

export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"

--8<---------------cut here---------------end--------------->8---

should work

HTH! Gio'.

[...]

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35773: hexchat: unable to get local issuer certificate
  2019-05-18  7:24     ` Giovanni Biscuolo
@ 2019-05-18 12:24       ` Jeff Bauer
  0 siblings, 0 replies; 6+ messages in thread
From: Jeff Bauer @ 2019-05-18 12:24 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: 35773

Giovanni,

Thanks, that does the trick!  For the record,
this is what I've put in my .bashrc as a check
if I change environments:

# Guix Profile
GUIX_PROFILE="$HOME/.guix-profile"
if [ -d $GUIX_PROFILE ] || [ -h $GUIX_PROFILE ] ; then
    export GUIX_PROFILE
    export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale/
    export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs"
    export SSL_CERT_FILE="$GUIX_PROFILE/etc/ssl/certs/ca-certificates.crt"
    if [ ! -f $SSL_CERT_FILE ] ; then
        echo "Missing nss-certs: $SSL_CERT_FILE"
    fi
    source $GUIX_PROFILE/etc/profile
fi


-Jeff

On Sat, May 18, 2019 at 09:24:05AM +0200, Giovanni Biscuolo wrote:
> Hello Jeff,
>
> Jeff Bauer <jbauer@rubic.com> writes:
>
> > Sorry, but the same problem with nss-certs installed.
>
> Sorry I gave you a partial solution, the full solition is to add the
> documented variables to your env, please read:
>
> https://www.gnu.org/software/guix/manual/en/html_node/X_002e509-Certificates.html
>
> Adding
>
> --8<---------------cut here---------------start------------->8---
>
> export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
> export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
>
> --8<---------------cut here---------------end--------------->8---
>
> should work
>
> HTH! Gio'.
>
> [...]
>
> --
> Giovanni Biscuolo
>
> Xelera IT Infrastructures

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35773: hexchat: unable to get local issuer certificate
  2019-05-17 13:26 bug#35773: hexchat: unable to get local issuer certificate Jeff Bauer
  2019-05-17 17:58 ` Giovanni Biscuolo
@ 2020-06-10 14:23 ` Royce Strange
  1 sibling, 0 replies; 6+ messages in thread
From: Royce Strange @ 2020-06-10 14:23 UTC (permalink / raw)
  To: 35773-done

Hello.

Giovanni Biscuolo helped Jeff Bauer fix his issue.

Closing.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-10 14:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-17 13:26 bug#35773: hexchat: unable to get local issuer certificate Jeff Bauer
2019-05-17 17:58 ` Giovanni Biscuolo
2019-05-17 18:27   ` Jeff Bauer
2019-05-18  7:24     ` Giovanni Biscuolo
2019-05-18 12:24       ` Jeff Bauer
2020-06-10 14:23 ` Royce Strange

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).