# How to pass certificate path from function to http node

**URL:** <https://discourse.nodered.org/t/how-to-pass-certificate-path-from-function-to-http-node/13303>\
**Category:** General\
**Created:** [15 July 2019 13:37 UTC](https://discourse.nodered.org/t/how-to-pass-certificate-path-from-function-to-http-node/13303 "2019-07-15T13:37:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiran007](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@kiran007](https://discourse.nodered.org/u/kiran007)\
**Post date:** [15 July 2019 13:37 UTC](https://discourse.nodered.org/t/how-to-pass-certificate-path-from-function-to-http-node/13303/1 "2019-07-15T13:37:21Z")

</div>

i want to define certificate path from function to http node how to define same ?(my function node output is connected to http node)

for example if i want to pass header to http node from javascript function node then i write as  
msg.headers = {  
Authorization: "Bearer "+ Api\_key1[Device\_no]  
}
