-
Notifications
You must be signed in to change notification settings - Fork 2
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
Client certificate #10
Conversation
c588268
to
c71f496
Compare
c71f496
to
73516d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GettingStarted-ja.md も更新が必要です。
@Yamaguchi 認証を試みたときに、以下のエラーで失敗します。なにか心当たりありますか?
|
現在クライアント証明書で使用しているアルゴリズムが古く OpenSSL 3 では無効になっているようです。node 17 からは openssl 3 へ移行しており、その影響でこのエラーが出ているようです。
|
以下のように起動することで、エラーを回避し、認証に成功しました。
ただし、クライアント証明書に利用しているアルゴリズムの見直しは必要ですね。 |
アルゴリズムの見直しについては Issue にしました。 |
6b1c1b8912202e4d57c7f4c3edba1539dd040e76で変更しました。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「このドキュメントのゴール」にある以下の2項目は消した方が良いと思います。1つ目は今は不要な操作ですし、2つ目は、Tapyrus API Mainnet ではエクスプローラー環境を用意していないので達成できませんし。
- Tapyrus API ユーザーのウォレットに TPC を供給して、トランザクションを発行する API の準備の方法を理解する。
- Tapyrus API で行った操作によって作られたトランザクションをエクスプローラーで確認する方法を理解する。
「対象とするブロックチェーン」の部分は、利用する Tapyrus API endpoint に依存するため、このドキュメントからは除外してよいと思います。
ちょっと PR の趣旨からずれてきますが、TPC の送金 API は今は使えないので、この Example の構成も token の発行・送金をする形にするなど変更が必要ですね。。
javascript/GettingStarted-ja.md
Outdated
|
||
## 6. TPC を入手する | ||
|
||
今回はテストネットを例に使っていますので、テストネットのfaucetからコインを手に入れます。 テストネット以外のネットワークを利用する場合は、その Tapyrus チェーンを運営しているフェデレーションの案内を確認してください。 | ||
今回はテストネットを例に使っていますので、テストネットのfaucetからコインを入手します。 テストネット以外のネットワークを利用する場合は、その Tapyrus チェーンを運営しているフェデレーションの案内を確認してください。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
見逃していましたが、Tapyrus API を使うにあたって faucet からの TPC の入手は不要ですね。
d281667
to
b426274
Compare
Sample code to use client certificates.