Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
17 Views

Getting NodeJS warning after executing initcert.js script (MCU server)

Jump to solution

Hello,

After executing "./initcert.js" commmand in MCU server, I am getting the below warning message

(node:7775) Warning: Use Cipheriv for counter mode of aes-256-ctr

I understand that we need to use crypto.createCipheriv(), instead of crypto.createCipher(). But, where I have to change this? What is the file name?

Hence, request you to help us to resolve the issue.

Thank you.

Best Regards,
Chandramouli.

Tags (2)
0 Kudos

Accepted Solutions
Highlighted
17 Views

This warning will not impact

Jump to solution

This warning will not impact the basic functionality, and we will update this in the future release. If you want to replace by yourself, please find cipher.js in MCU package and backup the file, then replace crypto.createCipher() with crypto.createCipheriv()

View solution in original post

0 Kudos
4 Replies
Highlighted
Beginner
17 Views

Hello,

Any update would be appreciated. Thank you.

Best Regards,
Chandramouli.

0 Kudos
Highlighted
Beginner
17 Views

Hello,

Any help would be appreciated.

Thank you.

Best Regards,
Chandramouli.

0 Kudos
Highlighted
18 Views

This warning will not impact

Jump to solution

This warning will not impact the basic functionality, and we will update this in the future release. If you want to replace by yourself, please find cipher.js in MCU package and backup the file, then replace crypto.createCipher() with crypto.createCipheriv()

View solution in original post

0 Kudos
Highlighted
Beginner
17 Views

Hello Qiujiao,

Jump to solution

Hello Qiujiao,

Thank you for your reply. As you suggested, I replaced in cipher.js and tested. But, sometimes, I am getting strange errors. As there is no impact on the functionality, I want to leave this for now and continue as usual. We will wait for the future release.

Thank you.

Best Regards,
Chandramouli.

0 Kudos