erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Publish to Hex Certificate Expired #260

Closed maennchen closed 3 years ago

maennchen commented 3 years ago
./rebar3 hex cut
===> Verifying dependencies...
===> Using deprecated rebar_utils:vcs_vsn/3. Please upgrade your plugins.
Select semver increment or other (Current 1.8.1):
1) patch
2) minor
3) major
4) other
[1-4] > 4
New Version > 2.0.0-alpha.1
===> Using deprecated rebar_utils:vcs_vsn/3. Please upgrade your plugins.
Create 'v2.0.0-alpha.1' commit? ("Y")> n
===> oidcc.app.src : deprecated field maintainers found
Publishing oidcc 2.0.0-alpha.1 to hexpm
  Description: an easy to use OpenID Connect client library
  Dependencies:
    hackney ~> 1.18
    erljwt ~> 2.0.7
  Included files:
    README.md
    rebar.config
    rebar.lock
    src/oidcc.app.src
    src/oidcc.erl
    src/oidcc_app.erl
    src/oidcc_client.erl
    src/oidcc_http_cache.erl
    src/oidcc_http_util.erl
    src/oidcc_openid_provider.erl
    src/oidcc_openid_provider_mgr.erl
    src/oidcc_openid_provider_sup.erl
    src/oidcc_session.erl
    src/oidcc_session_mgr.erl
    src/oidcc_session_sup.erl
    src/oidcc_sup.erl
    src/oidcc_token.erl
  Licenses: Apache 2.0
  Links:
    GitHub: https://github.com/indigo-dc/oidcc
  Build tools: rebar3
Be aware, you are publishing to the public Hexpm repository.
Before publishing, please read Hex CoC: https://hex.pm/policies/codeofconduct
Proceed? ("Y")> y
Local Password:                         
=NOTICE REPORT==== 30-Sep-2021::19:24:27.392258 ===
TLS client: In state wait_cert_cr at ssl_handshake.erl:1985 generated CLIENT ALERT: Fatal - Certificate Expired

===> An unknown error was encountered. Run with DEBUG=1 for more details.

Libary that I tried to publish: https://github.com/Erlang-Openid/oidcc/tree/7bb7c2e0a9f9ec0fd84575683a1f95227f0f6c9d Rebar / Erlang Version: rebar 3.17.0 on Erlang/OTP 24 Erts 12.1.1

starbelly commented 3 years ago

@maennchen Are you running a version of erlang equal to or greater than 24.0.4 ?

voltone commented 3 years ago

The hex.pm server certificate chain was modified to leave out the cross-signed ISRG Root X1. That should fix the issue without any need for client-side changes. Can you please try again @maennchen ?

maennchen commented 3 years ago

@starbelly Yes, I'm using erlang 24.1.1.

@voltone Thanks. I'll try tomorrow morning ❤️

maennchen commented 3 years ago

@voltone Works, thanks :)