Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add ca service for p2p #872

Merged
merged 8 commits into from
Feb 26, 2025
Merged

Conversation

wujian0327
Copy link
Contributor

Now the ca server is integrated into the relay service.
All certificates and privatekeys are stored in rust_vault.

Start the relay:

cargo run --bin aries

To get the ca certificate:

Get: http://localhost:8001/api/v1/ca/certificates/ca

To issue a user certificate:

Post: http://localhost:8001/api/v1/ca/certificates/{user_name}
body: certificate_issue_request(csr)

To get the user's certificate:

Get: http://localhost:8001/api/v1/ca/certificates/{user_name}

Copy link

vercel bot commented Feb 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 4:13am

@wujian0327 wujian0327 marked this pull request as ready for review February 24, 2025 03:51
@genedna genedna requested a review from Copilot February 25, 2025 00:59
@genedna genedna enabled auto-merge February 25, 2025 01:00
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.

auto-merge was automatically disabled February 26, 2025 04:11

Head branch was pushed to by a user without write access

@genedna genedna added this pull request to the merge queue Feb 26, 2025
Merged via the queue into web3infra-foundation:main with commit b9342cf Feb 26, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants