> For the complete documentation index, see [llms.txt](https://jen-hsuan-hsieh.gitbook.io/javascript-node-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jen-hsuan-hsieh.gitbook.io/javascript-node-js/chapter2-nodejs/23nodejs-debug-message/233debug-messageerror-certumtrusted.md).

# 2.3.3.\[Debug message]Error: CERT\\\_UMTRUSTED

* symptom
  * CERT\_UNTRUSTED error message when using gitbook API on AWS, but it can work on local computer.

    ![](/files/-M4M0NXkpJIrVFV7smEt)
* solution (on Ubuntu 14.04 LS)
  * The issue was with nodev0.10.34(Node.js). This should be fixed inv0.10.35.

    ```
    changelog: 2014.12.22, Version 0.10.35 (Stable)

    tls: re-add 1024-bit SSL certs removed by f9456a2 (Chris Dickinson)
    ```

    Solution:Upgrade to[node 0.10.35](http://blog.nodejs.org/2014/12/23/node-v0-10-35-stable/).
  * upgrade node to newer version:
    * 1.curl -sL <https://deb.nodesource.com/setup> | sudo bash -
    * 2.sudo apt-get install nodejs
    * 3.sudo ln -s /usr/bin/nodejs /usr/bin/node
