# Serverless-openwhisk : Way to enable insecure session for evaluation environment

**URL:** <https://forum.serverless.com/t/serverless-openwhisk-way-to-enable-insecure-session-for-evaluation-environment/1388>\
**Category:** Serverless Framework\
**Tags:** openwhisk\
**Created:** [February 24, 2017, 9:01pm UTC](https://forum.serverless.com/t/serverless-openwhisk-way-to-enable-insecure-session-for-evaluation-environment/1388 "2017-02-24T21:01:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avwsolutions](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/avwsolutions/32/482_2.png) [@avwsolutions](https://forum.serverless.com/u/avwsolutions)\
**Post date:** [February 24, 2017, 9:01pm UTC](https://forum.serverless.com/t/serverless-openwhisk-way-to-enable-insecure-session-for-evaluation-environment/1388/1 "2017-02-24T21:01:17Z")

</div>

Hi,

I’m currently setting up serverless framework against a local openwhisk instance for testing/evaluation purposes. The instance is the default Vagrant installation of openwhisk.

Everything is working (connection and .wskprops are correct) , but except the serverless deploy - which looks like caused by the self-signed-certificate. For the wsk command you can bypass this with (-i option).

Is there a possibility in serverless or module to additionally send the insecure option ?

Error from deploying the boilerplate example code.

CANDYBOX:localess arnold$ serverless deploy -v

WARNING: You are running v1.7.0. v1.8.0 will include the following breaking changes:  
- Will replace IamPolicyLambdaExecution resource with inline policies -\> [https://git.io/vDilm](https://git.io/vDilm)  
- “sls info” will output the short function name rather than the lambda name -\> [https://git.io/vDiWx](https://git.io/vDiWx)

You can opt-out from these warnings by setting the “SLS\_IGNORE\_WARNING=\*” environment variable.

Serverless: Packaging service…  
Serverless: Compiling Functions…  
Serverless: Compiling API Gateway definitions…  
Serverless: Compiling Rules…  
Serverless: Compiling Triggers & Feeds…  
Serverless: Deploying Functions…

Serverless Error ---------------------------------------

```
 Failed to deploy function (localess-dev-hello_world)
 due to error: Error encountered calling OpenWhisk: Error:
 self signed certificate

```

Get Support --------------------------------------------  
Docs: [docs.serverless.com](http://docs.serverless.com)  
Bugs: [github.com/serverless/serverless/issues](http://github.com/serverless/serverless/issues)

Your Environment Information -----------------------------  
OS: darwin  
Node Version: 6.10.0  
Serverless Version: 1.7.0

---

<div class="post-metadata">

**Author:** ![avwsolutions](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/avwsolutions/32/482_2.png) [@avwsolutions](https://forum.serverless.com/u/avwsolutions)\
**Post date:** [February 25, 2017, 12:51pm UTC](https://forum.serverless.com/t/serverless-openwhisk-way-to-enable-insecure-session-for-evaluation-environment/1388/2 "2017-02-25T12:51:39Z")

</div>

The issue is accepted and will be part of the the release / update. See below the Github issue record with comment history.

[https://github.com/serverless/serverless-openwhisk/issues/36](https://github.com/serverless/serverless-openwhisk/issues/36)

---

<div class="post-metadata">

**Author:** ![jthomas](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/jthomas/32/47_2.png) [@jthomas](https://forum.serverless.com/u/jthomas)\
**Post date:** [March 11, 2017, 1:22pm UTC](https://forum.serverless.com/t/serverless-openwhisk-way-to-enable-insecure-session-for-evaluation-environment/1388/3 "2017-03-11T13:22:10Z")

</div>

This should now be resolved with the 0.5 release of the plugin.

Use the following configuration to support this.

````auto
provider:
    name: openwhisk
    ignore_certs: true
```
````

---

<div class="post-metadata">

**Author:** ![avwsolutions](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/avwsolutions/32/482_2.png) [@avwsolutions](https://forum.serverless.com/u/avwsolutions)\
**Post date:** [March 12, 2017, 2:33pm UTC](https://forum.serverless.com/t/serverless-openwhisk-way-to-enable-insecure-session-for-evaluation-environment/1388/4 "2017-03-12T14:33:15Z")

</div>

Great news and excellent support !!! I will update towards the 0.5 version
