x509: certificate signed by unknown authority – both with docker and with github

As mentioned in crypto/x509/root_unix.go, Go (which is what Docker uses) will check CA certificates in “/etc/ssl/certs/ca-certificates.crt”, // Debian/Ubuntu/Gentoo etc. “/etc/pki/tls/certs/ca-bundle.crt”, // Fedora/RHEL “/etc/ssl/ca-bundle.pem”, // OpenSUSE “/etc/ssl/cert.pem”, // OpenBSD “/usr/local/share/certs/ca-root-nss.crt”, // FreeBSD/DragonFly “/etc/pki/tls/cacert.pem”, // OpenELEC “/etc/certs/ca-certificates.crt”, // Solaris 11.2+ Make sure those files are available and not corrupted. There can be also sporadic issue with the … Read more

GitHub GraphQL equivalent of the contents API

After some digging, found it: query { repository(name: “repoName”, owner: “repoOwner”) { object(expression: “branch:path/to/file”) { … on Blob { text } } } } The argument passed to expression on the object field is actually a git revision expression suitable for rev-parse, so I guess you can have fun with it to do advanced querying. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)