Home

Awesome

CAStore

CI badge Documentation badge Hex.pm badge

Up-to-date CA certificate store for Elixir.

Installation

In your mix.exs:

def deps do
  [
    {:castore, "~> 1.0"}
  ]
end

Then, run $ mix deps.get.

Usage

This is a micro-library whose only job is storing an up-to-date CA certificate store. The only provided function is CAStore.file_path/0, which returns the path of the CA certificate store file.

CAStore.file_path()
#=> /Users/me/castore/_build/dev/lib/castore/priv/cacerts.pem"

See the documentation.

Updates

Every time there is an update to the CA certificate store, we'll release a new patch version of the library. For example, 1.0.121.0.13.

Contributing

If you want to locally update the CA certificate store file bundled with this library, run the mix certdata from the root of this library.

License

Copyright 2018 Eric Meadows-Jönsson and Andrea Leopardi

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.