mirror of
https://github.com/hanzoai/s3.git
synced 2026-10-30 14:59:09 +00:00
Kill MinIO; migrate object storage to SeaweedFS, rebranded Hanzo S3.
- module github.com/hanzoai/s3 (all 1920 imports rewritten); seaweedfs/{raft,goexif,go-fuse,cockroachdb-parser} kept as deps
- binary weed -> s3; display brand SeaweedFS -> Hanzo S3 (Server/version/admin); wire identifiers unchanged for S3 compat
- Dockerfile builds s3 (CGO_ENABLED=0, ldflags) -> ghcr.io/hanzoai/s3 via shared CI
- MinIO preserved in git history (prior main)
12 lines
330 B
Bash
Executable File
12 lines
330 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Generate a private key
|
|
openssl genrsa -out key.pem 2048
|
|
|
|
# Generate a self-signed certificate
|
|
openssl req -new -x509 -key key.pem -out cert.pem -days 365 \
|
|
-subj "/C=US/ST=State/L=City/O=Organization/OU=Unit/CN=localhost"
|
|
|
|
echo "Certificate (cert.pem) and Key (key.pem) generated successfully in $(pwd)"
|