• Stars
    star
    140
  • Rank 252,543 (Top 6 %)
  • Language
    Elixir
  • Created over 5 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Up-to-date certificate store for Elixir. πŸ”

CAStore

hex.pm badge Documentation 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.12 β†’ 1.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.