• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Certificate Error Codes
2
3<!--Kit: Device Certificate Kit-->
4<!--Subsystem: Security-->
5<!--Owner: @zxz--3-->
6<!--Designer: @lanming-->
7<!--Tester: @PAFT-->
8<!--Adviser: @zengyawen-->
9
10> **NOTE**
11>
12> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
13
14## 19020001 Memory Error
15
16**Error Message**
17
18Memory error.
19
20**Possible Causes**
21
22The memory allocation failed.
23
24**Solution**
25
261. Check whether the system is running properly.
272. Check whether the service data is too long.
28
29## 19020002 Runtime Error
30
31**Error Message**
32
33Runtime error.
34
35**Possible Causes**
36
37An unexpected error occurs.
38
39**Solution**
40
41Check whether the system is running properly.
42
43## 19020003 Parameter Check Failure
44
45**Error Message**
46
47Indicates that parameter check failed.
48
49**Possible Causes**
50
51The input value is out of range.
52
53**Solution**
54
55Check whether the input parameters are correct.
56
57## 19030001 Crypto Operation Error
58
59**Error Message**
60
61Crypto operation error.
62
63**Possible Causes**
64
65An error occurs when the cryptography framework interacts with a third-party algorithm library.
66
67**Solution**
68
691. Check whether the input parameters are correct.
702. Check whether the third-party algorithm library functions properly.
71
72## 19030002 Certificate Signature Verification Failed
73
74**Error Message**
75
76The certificate signature verification failed.
77
78**Possible Causes**
79
80Incorrect certificate signature information is found during the signature verification.
81
82**Solution**
83
84Check whether the certificate is correct.
85
86## 19030003 Certificate Has Not Taken Effect
87
88**Error Message**
89
90The certificate has not taken effect.
91
92**Possible Causes**
93
94The certificate has not taken effect. The effective time of the certificate is later than the current system time or the time specified by the service.
95
96**Solution**
97
981. Check whether the certificate is correct.
992. Check whether the system time is correct.
1003. Compare the certificate effective time with the current system time to determine whether the certificate has taken effect.
101
102## 19030004 Certificate Expired
103
104**Error Message**
105
106The certificate has expired.
107
108**Possible Causes**
109
110The certificate has expired. The certificate expiration time is earlier than the current system time or the time specified by the service.
111
112**Solution**
113
1141. Check whether the certificate is correct.
1152. Check whether the system time is correct.
1163. Compare the certificate expiration time with the current system time to determine whether the certificate has expired.
117
118## 19030005 Failed to Obtain the Certificate Issuer
119
120**Error Message**
121
122Failed to obtain the certificate issuer.
123
124**Possible Causes**
125
126The certificate issuer cannot be obtained during certificate verification.
127
128**Solution**
129
130Check whether the certificate is correct.
131
132## 19030006 Key Cannot be Used for Signing a Certificate
133
134**Error Message**
135
136The key cannot be used for signing a certificate.
137
138**Possible Causes**
139
140The key cannot be used to sign certificates.
141
142**Solution**
143
144Check whether the certificate is correct.
145
146## 19030007 Key Cannot be Used for Digital Signature
147
148**Error Message**
149
150The key cannot be used for digital signature.
151
152**Possible Causes**
153
154The key cannot be used for digital signature.
155
156**Solution**
157
158Check whether the certificate is correct.
159
160## 19030008 Incorrect Private Key Password
161
162**Error Message**
163
164The password may be wrong.
165
166**Possible Causes**
167
168The password for the private key is incorrect.
169
170**Solution**
171
172Check that the private key password is correct.
173