Skip to content

Commit 56955ff

Browse files
committed
fix: correctly use new get_csr syntax
Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no>
1 parent 0834bc4 commit 56955ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nrfcloud_utils/device_credentials_installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def get_csr(cred_if, custom_dev_id = "", sectag = 0, local = False):
159159
csr, local_priv_key = create_device_credentials.create_local_csr(cn = custom_dev_id)
160160
else:
161161
# Use AT commands to request a CSR.
162-
csr_blob = cred_if.get_csr(sectag, custom_dev_id)
162+
csr_blob = cred_if.get_csr(sectag, f"CN={custom_dev_id}")
163163

164164
if csr_blob is None:
165165
logger.error('Failed to obtain CSR from device')

0 commit comments

Comments
 (0)