El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page
Help Center/ Web3 Node Engine Service/ FAQs/ Staking Nodes/ How Do I Use a Certificate and an Authentication Credential to Access a Node?

How Do I Use a Certificate and an Authentication Credential to Access a Node?

Updated on 2024-12-18 GMT+08:00

You can perform the following operations to use a certificate and an authentication credential to access a node.

Prerequisites

  • You have created a full node.
  • You have obtained a key on Staking Launchpad. For details, see NES User Guide (Staking Nodes).
  • You have downloaded a validator client. Check the Prysm Documentation or Lighthouse Documentation to download a client as required.

Procedure

  1. Create and obtain an authentication credential.

    1. On the NES console, choose Dedicated > Authentication Credential and click Create Credential.
    2. Describe the credential and set the access policy.
      Figure 1 Creating a credential
    3. Click OK. The credential is created and then automatically downloaded as a ZIP package.

      NOTE:

      Each credential can be downloaded only once. Change the credential periodically for security.

    4. Decompress the package and open the credential.csv file to obtain the credential.

  2. Start a staking node.

    1. Click a node ID.
      Figure 2 Node ID
    2. Obtain the node information.

      For a Prysm client, you can obtain its gRPC Endpoint and Node TLS Certificate.

      For a Lighthouse client, you can obtain its HTTP Endpoint and Node TLS Certificate.
      Figure 3 Node details of a Prysm client
    3. Paste the key and TLS certificate to the hardware machine installed with the script.
      For a Prysm client, run the following command to import the key to the keystore:
      ./prysm.sh validator accounts import --keys-dir=<YOUR_FOLDER_PATH> --< NETWORK >

      NETWORK is the staking network and YOUR_FOLDER_PATH is the actual key file path.

      For a Lighthouse client, run the following command to import the key to the keystore:

      lighthouse --network < NETWORK > account validator import --directory < YOUR_FOLDER_PATH >

      NETWORK is the staking network and YOUR_FOLDER_PATH is the actual key file path.

    4. After the key is imported, perform the following operations for a Prysm client and Lighthouse client, respectively.
      For a Prysm client, run the prysm.sh file, configure the following parameters, and start the staking node.
      • beacon-rpc-provider: the value of gRPC Endpoint
      • grpc-headers: the authentication credential
      • tls-cert: the relative path of Node TLS Certificate

      Example:

      ./prysm.sh validator --beacon-rpc-provider=xx.xx.xx.xx:30002 --grpc-headers=credential=xxxxxxxxxxxxxxxxxxxxxx --tls-cert=ca.crt

      For a Lighthouse client, run the lighthouse vc command, configure the following parameters, and start the staking node.

      • network: the staking network
      • suggested-fee-recipient: the suggested fee recipient
      • beacon-nodes-tls-certs: the relative path of Node TLS Certificate
      • beacon-nodes: the HTTP endpoint or credential information
      lighthouse vc --network < **NETWORK** > --suggested-fee-recipient <**YourFeeRecipientAddress** > --beacon-nodes-tls-certs ca.pem --beacon-nodes https://xx.xx.xx.xx:30000/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      NOTE:

      These parameters are mandatory for interconnecting Huawei Cloud nodes. Check the Prysm Documentation and Lighthouse Documentation to learn other parameters.

  3. Monitor a staking node.

    Click a node ID and click the Node Status tab page.
    Figure 4 Node status
    NOTE:

    You need to monitor and perform O&M on the validator client where a staking node has been started. You can also enter the key on a page similar to the following to check the client execution.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback