premake / premake/premake-core

SSL certificate issue in OSX

Open
#588 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
3.6k
Forks
654
Avg merge
1d 1h
Merged PRs (30d)
13

Description

I just updated our Premake build to the latest master and builds started failing in our Travis CI build service.

Error: ...s/travis/build/mono/CppSharp/build/scripts/Utils.lua:96: SSL peer certificate or SSH remote key was not OK
Cert verify failed: BADCERT_NOT_TRUSTED

Recently the SSL library was switched to mbedtls by @tvandijck, maybe we're missing some call to initialize it with the system certificate store or something?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Travis CI failure after updating Premake, then inspect scripts/Utils.lua around line 96 and the recent switch to mbedtls. Verify how certificate trust is initialized on OSX and in Travis; done means the build completes without the BADCERT_NOT_TRUSTED error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
build-system, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.