DPDK Architecture  ->  Guide (stable)

Dev Certificate

DPDK uses a local SSL certificate to ensure a similar environment as if you where on production.

Update *.dev.dpdk.com certificate

To update the local *.dev.dpdk.com certificate please run the following commands:

  • vagrant ssh
  • sudo su
  • cd /var/source/_scripts/build
  • chmod 755 ./update-dev-certificate.sh
  • ./update-dev-certificate.sh

Is the update-dev-certificate.sh missing in your project then please follow the procedure below:

Updating Nginx Projects

Add the following files to your project:

$PROJECT/_scripts/vagrant/ansible/certificate.yml

---
- hosts: all
  vars_files:
    - vars.yml
  become: true
  roles:
    - { role: dpdk/nginx, when: enable_nginx }

$PROJECT/_scripts/vagrant/ansible/hosts

localhost ansible_connection=local

$PROJECT/_scripts/build/update-dev-certificate.sh

#!/bin/bash

echo "Removing old files..."
rm -rf /root/downloadcert

echo "Running Ansible..."
ansible-playbook -i /var/source/_scripts/vagrant/ansible/hosts /var/source/_scripts/vagrant/ansible/certificate.yml

Updating Apache2 Projects

Add the following files to your project:

$PROJECT/_scripts/vagrant/ansible/certificate.yml

---
- hosts: all
  vars_files:
    - vars.yml
  become: true
  roles:
    - { role: dpdk/apache, when: enable_apache }

$PROJECT/_scripts/vagrant/ansible/hosts

localhost ansible_connection=local

$PROJECT/_scripts/build/update-dev-certificate.sh

#!/bin/bash

echo "Removing old files..."
rm -rf /root/downloadcert

echo "Running Ansible..."
ansible-playbook -i /var/source/_scripts/vagrant/ansible/hosts /var/source/_scripts/vagrant/ansible/certificate.yml
Last modifiedMonday, January 25, 2021, 3:22:12 PM UTC
Last authorGlenn de Haan
Commit ID962f9a5