Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infrablocks/docker-gemstash-aws
A Gemstash image for AWS
https://github.com/infrablocks/docker-gemstash-aws
aws aws-s3 docker docker-image gemstash image infrablocks
Last synced: about 2 months ago
JSON representation
A Gemstash image for AWS
- Host: GitHub
- URL: https://github.com/infrablocks/docker-gemstash-aws
- Owner: infrablocks
- License: mit
- Created: 2021-03-28T17:27:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T23:38:47.000Z (3 months ago)
- Last Synced: 2024-10-29T00:25:19.756Z (3 months ago)
- Topics: aws, aws-s3, docker, docker-image, gemstash, image, infrablocks
- Language: Ruby
- Size: 319 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Docker Image - Gemstash AWS
## Development
### Managing CircleCI keys
To encrypt a GPG key for use by CircleCI:
```bash
openssl aes-256-cbc \
-e \
-md sha1 \
-in ./config/secrets/ci/gpg.private \
-out ./.circleci/gpg.private.enc \
-k ""
```To check decryption is working correctly:
```bash
openssl aes-256-cbc \
-d \
-md sha1 \
-in ./.circleci/gpg.private.enc \
-k ""
```### Generating example certs
To generate a TLS cert and key:
```
openssl req \
-x509 \
-newkey rsa:4096 \
-keyout spec/fixtures/example-key.pem \
-out spec/fixtures/example-cert.pem \
-days 365 \
-nodes \
-subj '/CN=localhost'
```To generate a CA cert and key for client certificates:
```
openssl genrsa \
-out spec/fixtures/example-ca.key \
2048
openssl req \
-x509 \
-new \
-nodes \
-key spec/fixtures/example-ca.key \
-sha256 \
-days 1024 \
-out spec/fixtures/example-ca.pem \
-subj "/C=UK/ST=Greater London/L=London/O=InfraBlocks/OU=Development/CN=localhost/[email protected]"
```