# VPN tunnel setup from the Pipeline

**URL:** <https://discuss.circleci.com/t/vpn-tunnel-setup-from-the-pipeline/44757>\
**Category:** Deployments\
**Created:** [July 20, 2022, 10:56am UTC](https://discuss.circleci.com/t/vpn-tunnel-setup-from-the-pipeline/44757 "2022-07-20T10:56:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sul-3man](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/sul-3man/32/30621_2.png) [@sul-3man](https://discuss.circleci.com/u/sul-3man)\
**Post date:** [July 20, 2022, 10:56am UTC](https://discuss.circleci.com/t/vpn-tunnel-setup-from-the-pipeline/44757/1 "2022-07-20T10:56:08Z")

</div>

Hi there,  
I am new to Circle CI.  
I have a pipeline which will has some integration tests that need to make api calls over the VPN from the Circle C.I server. This is done using OpenVpn.  
To do this over a pipeline I need to have a client certificate from the Circle CI. How do I go about generating that certificate from my pipeline?

Thanks in Advance

---

<div class="post-metadata">

**Author:** ![rit1010](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rit1010/32/34738_2.png) [@rit1010](https://discuss.circleci.com/u/rit1010)\
**Post date:** [July 20, 2022, 9:15pm UTC](https://discuss.circleci.com/t/vpn-tunnel-setup-from-the-pipeline/44757/2 "2022-07-20T21:15:29Z")

</div>

The normal way to handle access keys like this is to generate the set of files in the same way that you would when setting up a normal PC/Laptop to open a VPN session.

Once you have the files you install them into the runner via the circleci.yml script every time you cause a build to run, while also installing the OpenVPN client.
