README.md (1307B)
1 # CAStore 2 3 Up-to-date CA certificate store. 4 5 ## Installation 6 7 In your `mix.exs`: 8 9 ```elixir 10 def deps do 11 [ 12 {:castore, "~> 0.1.0"} 13 ] 14 end 15 ``` 16 17 Then, run `$ mix deps.get`. 18 19 ## Usage 20 21 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. 22 23 ```elixir 24 CAStore.file_path() 25 #=> /Users/me/castore/_build/dev/lib/castore/priv/cacerts.pem" 26 ``` 27 28 See [the documentation](https://hexdocs.pm/castore). 29 30 ## Contributing 31 32 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. 33 34 ## License 35 36 Copyright 2018 Eric Meadows-Jönsson and Andrea Leopardi 37 38 Licensed under the Apache License, Version 2.0 (the "License"); 39 you may not use this file except in compliance with the License. 40 You may obtain a copy of the License at 41 42 http://www.apache.org/licenses/LICENSE-2.0 43 44 Unless required by applicable law or agreed to in writing, software 45 distributed under the License is distributed on an "AS IS" BASIS, 46 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 47 See the License for the specific language governing permissions and 48 limitations under the License.