Skip to content

Commit

Permalink
E2e mqtt tests (#38)
Browse files Browse the repository at this point in the history
* e2e tests: Added the e2e test folder and included the docker compose file with Everest configurations

* ci fix: skipped current e2e tests and removed hyperlink for directories in README

* e2e tests: moved existing e2e test resources to another folder, included a script that start docker compose and run the e2e tests

* e2e tests: refactored e2e-test scripts for starting docker compose and invoking tests

* ci fix: skipping e2e tests

* e2e tests: included e2e tests as part of talisman's ignore file config, removed t.Skip in e2e test, updated function in e2e test script

* e2e tests: removed e2e tests as part of talisman's ignore file

* e2e tests: add test file to talisman to ignore, add go doc, updated file locations

* e2e tests: renamed e2e test folder, updated e2e test script variables and commands

* e2e tests: add CI workflow for e2e tests, adjusted directory path for csms

* e2e tests: add sudo permissions for update and installation

* ci fix: add statement to print current directory

* ci fix: add full directory path to volume source

* ci debug: capture the actual file location for the volume source, revert volume source path for Everest

* ci fix: add full path to directory for volume source

* ci debug: print current directory after make up, revert path for volume source

* ci debug: print current directory after make up

* ci fix: add new folders for certificate generation, adjusted script for copying csms certificates, add everest scripts to e2e test script

* ci fix: add setup to generate csms certificates

* ci fix: update README

* ci fix: adjusted wait time for Everest

* ci fix: adjusted wait time for Everest

* ci fix: adjusted wait time for Everest

* ci fix: debug mqtt server for everest

* ci fix: debug websocket server for csms

* ci fix: give access permission to tls key certificate

* ci fix: run full e2e test

* ci fix: debug everest

* ci fix: run e2e tests without container logs

* ci fix: run e2e tests without container logs

* ci fix: run e2e tests with mqtt logs

* ci fix: run e2e tests with available services

* ci fix: run e2e tests with mqtt server logs

* ci fix: removed logging definition from docker-compose and decreased wait time

* ci fix: add logging for mqtt in csms

* ci fix: add logging for both csms and everest

* ci fix: add logging for everest after test

* ci fix: add logging for everest after test

* ci fix: add logging for everest after test

* ci fix: add logging for everest after test

* ci fix: add logging for everest after test

* debug: install library package for mosquitto on Ubuntu, add mosquitto command for subscription

* debug: ignoring exit code 1 output for failed test execution to see docker-compose logs after failure

* debug: ignoring exit code 1 output for failed test execution to see docker-compose logs after failure

* debug: changed mqtt broker address

* refactor: removed docker compose version, renamed some steps within the build job, removed docker compose logs from script

* doc: add README for step to run e2e tests locally

* improvment: add Gosec Security Scanner to CI workflow

* improvement: remove Gosec Security Scanner from CI workflow

* doc: minor adjustment to README
  • Loading branch information
usuletw022 authored Mar 26, 2024
1 parent a1018d6 commit e3ddbe9
Show file tree
Hide file tree
Showing 60 changed files with 3,330 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: End-to-End Tests
on:
push:
branches: [ '*' ]

jobs:
build-and-test:
name: Install docker and Run E2E Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install docker-compose
docker-compose --version
- name: Build docker and Run E2E Tests
run: ./e2e_tests/run-e2e-tests.sh
2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ fileignoreconfig:
checksum: d28fa545deef6c383ac1cf401b2a9561a02ed17ffa6efdf665922580acf3e3e9
- filename: docker-compose.yml
checksum: bebfd6c63f4d2a688fdda876093b7f4a95e38c331cb70bcec548b43b80c93cd7
- filename: e2e_tests/test_driver/end_to_end_test.go
checksum: 6ef0f09822b2d48b0367364818d47c895e36c4d8d4adae4446642428942a8599
- filename: gateway/cmd/serve.go
checksum: f08fe8f8c8710239376098c6e1b778d3fa9a1fb5f0653ff2a9a34e9c70d4194e
- filename: gateway/registry/remote.go
Expand Down
19 changes: 19 additions & 0 deletions e2e_tests/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.PHONY: up
up: register-cs setup-rfid setup-contract
OCPP_VERSION=ocpp docker-compose --profile everest up -d

.PHONY: test
test: # password 123456
websocat --client-pkcs12-der ./config/certificates/cs001.pem --client-pkcs12-passwd 123456 wss://localhost:443

.PHONY: setup-rfid
setup-rfid:
curl -i http://localhost:9410/api/v0/token -H 'content-type: application/json' -d '{"countryCode": "GB","partyId": "TWK","type": "RFID","uid": "DEADBEEF","contractId": "GBTWK012345678V","issuer": "Thoughtworks","valid": true,"cacheMode": "ALWAYS"}'

.PHONY: setup-contract
setup-contract:
curl -i http://localhost:9410/api/v0/token -H 'content-type: application/json' -d '{"countryCode": "GB","partyId": "TWK","type": "RFID","uid": "EMP77TWTW99999","contractId": "GBTWK012345678V","issuer": "Thoughtworks","valid": true,"cacheMode": "ALWAYS"}'

.PHONY: register-cs
register-cs:
curl -i http://localhost:9410/api/v0/cs/cs001 -H 'content-type: application/json' -d '{"securityProfile":2}'
18 changes: 18 additions & 0 deletions e2e_tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# End-to-end tests

## Description

Runs end-to-end tests against Everest (Charge station simulator) along with CSMS


## Steps

1. Run the following bash script to start the docker containers for Everest and CSMS and execute the end-to-end tests
```shell
./run-e2e-tests.sh
```





52 changes: 52 additions & 0 deletions e2e_tests/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
networks:
default:
name: maeve-csms
external: true

services:
mqtt-server:
image: ghcr.io/everest/everest-demo/mqtt-server:0.0.10
ports:
- "1884:1883"
- "9001:9000"
user: "10000:10000"
healthcheck:
test: [ "CMD-SHELL", "timeout 5 mosquitto_sub -t '$$SYS/#' -C 1 | grep -v Error || exit 1" ]
interval: 10s
timeout: 10s
retries: 3

manager:
image: ghcr.io/everest/everest-demo/manager:0.0.10
depends_on:
- mqtt-server
environment:
MQTT_SERVER_ADDRESS: mqtt-server
entrypoint: "sh ./build/run-scripts/run-sil-${OCPP_VERSION}.sh"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
volumes:
- type: bind
source: ./everest/config/everest
target: /ext/source/config
- type: bind
source: ./everest/config/everest/ocpp/OCPP
target: /workspace/dist/share/everest/modules/OCPP
- type: bind
source: ./everest/config/everest/ocpp/OCPP201
target: /workspace/dist/share/everest/modules/OCPP201
- type: bind
source: ./everest/config/everest/certs
target: /workspace/dist/etc/everest/certs

nodered:
image: ghcr.io/everest/everest-demo/nodered:0.0.10
depends_on:
- mqtt-server
environment:
- MQTT_SERVER_ADDRESS=mqtt-server
- FLOWS=/config/config-sil-two-evse-flow.json
ports:
- 1880:1880
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
47 changes: 47 additions & 0 deletions e2e_tests/everest/config/certificates/HUBOpenProvCert001.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
-----BEGIN CERTIFICATE-----
MIIB9jCCAZygAwIBAgIQXAGaGc0odduhH6YnK05NazAKBggqhkjOPQQDAjBDMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMR0wGwYDVQQDExRNTyBT
dWIyIENBIFFBIEcxLjIuMTAeFw0yMzA1MjMxMjU1NTNaFw0yNDAzMDEwMDAwMDBa
MCsxEDAOBgNVBAoTB0h1YmplY3QxFzAVBgNVBAMTDkVNUDc3VFdUVzAwMDAyMFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUVJxF0Z81GW4LZ3fnvC+z5fn7QvPe+nx
ZBOGtzpB6RRmafqwTL9ctzWMMkaB6nuIUyyTKR0Rs+XKYJeToK7S8qOBiTCBhjAP
BgNVHRMBAf8EBTADAQEAMBEGA1UdDgQKBAhGBfp1bBhxXDATBgNVHSMEDDAKgAhF
LmmhNiJsSDA7BggrBgEFBQcBAQQvMC0wKwYIKwYBBQUHMAGGH2h0dHA6Ly9vY3Nw
LXFhLmh1YmplY3QuY29tOjgwODAwDgYDVR0PAQH/BAQDAgPoMAoGCCqGSM49BAMC
A0gAMEUCIBV5rlKEeHjernJPfzxA3HyPH742YcS8oEmUlWccrH62AiEAln/HGazM
NZqhoS5SSscViysAOQGvvcjHMKucJ5CjdLg=
-----END CERTIFICATE-----
subject=/C=DE/O=Hubject GmbH/CN=MO Sub2 CA QA G1.2.1
issuer=/C=DE/O=Hubject GmbH/CN=MO Sub1 CA QA G1.2
-----BEGIN CERTIFICATE-----
MIICDzCCAbWgAwIBAgIQXd9CzQy8+VxpQt9IwNrOETAKBggqhkjOPQQDAjBBMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMRswGQYDVQQDExJNTyBT
dWIxIENBIFFBIEcxLjIwHhcNMjIwNDEwMjE1OTU5WhcNMzIwNDEwMjE1OTU5WjBD
MQswCQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMR0wGwYDVQQDExRN
TyBTdWIyIENBIFFBIEcxLjIuMTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGRs
p5TTDIGpB+PEwmeG8D7Pgo/WN3U35Rxhe5ttLLlyF2jlmtOPHeHxWgGb0AO7H3L6
nso0A7Nn2KfDP8tG+OujgYwwgYkwEgYDVR0TAQH/BAgwBgEB/wIBADARBgNVHQ4E
CgQIRS5poTYibEgwEwYDVR0jBAwwCoAISw94EhgPO18wOwYIKwYBBQUHAQEELzAt
MCsGCCsGAQUFBzABhh9odHRwOi8vb2NzcC1xYS5odWJqZWN0LmNvbTo4MDgwMA4G
A1UdDwEB/wQEAwIBxjAKBggqhkjOPQQDAgNIADBFAiBqFxXTwnpm0eEgBPj/Px0k
aEvZWdyZPm7BLJVJM6fT3QIhAKZPDhuau2DcN9xrrRPqqZLjfqPSMWw1D0VlCTqC
uv2k
-----END CERTIFICATE-----

subject=/C=DE/O=Hubject GmbH/CN=MO Sub1 CA QA G1.2
issuer=/C=DE/O=Hubject GmbH/DC=V2G/CN=V2G Root CA QA G1
-----BEGIN CERTIFICATE-----
MIICIjCCAcegAwIBAgIQIOuk+8fAbyXQizBVpSI55zAKBggqhkjOPQQDAjBVMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMRMwEQYKCZImiZPyLGQB
GRYDVjJHMRowGAYDVQQDExFWMkcgUm9vdCBDQSBRQSBHMTAeFw0yMjA0MDcxNDEz
MDdaFw00MjA0MDcxNDEzMDdaMEExCzAJBgNVBAYTAkRFMRUwEwYDVQQKEwxIdWJq
ZWN0IEdtYkgxGzAZBgNVBAMTEk1PIFN1YjEgQ0EgUUEgRzEuMjBZMBMGByqGSM49
AgEGCCqGSM49AwEHA0IABLWnWSw4NPNInduDQp6H0IFgeY0WtO0F3utqV191XLIe
spoAoSIz7s4Vhf+BhbbeX+UyftbGDp2m9EjGIBhog+mjgYwwgYkwEgYDVR0TAQH/
BAgwBgEB/wIBATARBgNVHQ4ECgQISw94EhgPO18wEwYDVR0jBAwwCoAIS0X/giX8
EJYwOwYIKwYBBQUHAQEELzAtMCsGCCsGAQUFBzABhh9odHRwOi8vb2NzcC1xYS5o
dWJqZWN0LmNvbTo4MDgwMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAgNJADBG
AiEAsApDKLvPUVuDCtsIAnn/+prsGu5aekwd59tLiCHAFwACIQCFGJHvTz7JUrq/
QJhQzehduW/+oaROsqOp8L3JdEO6XA==
-----END CERTIFICATE-----

47 changes: 47 additions & 0 deletions e2e_tests/everest/config/certificates/HUBOpenProvCert002.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
-----BEGIN CERTIFICATE-----
MIIB9jCCAZygAwIBAgIQWg+8k4JcqPIZeX5bj3LoBzAKBggqhkjOPQQDAjBDMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMR0wGwYDVQQDExRNTyBT
dWIyIENBIFFBIEcxLjIuMTAeFw0yMzA1MjMxMjU3MDlaFw0yNDAzMDEwMDAwMDBa
MCsxEDAOBgNVBAoTB0h1YmplY3QxFzAVBgNVBAMTDkVNUDc3VFdUVzAwMDAzMFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKsUiYDu/OGHjKEq39spSiS6CdE9q4jg6
ysuA3ACCKCH5S9Y8YGqy73Dy+fHUZpdzFOAPoYJEK4srYAwgH221z6OBiTCBhjAP
BgNVHRM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VJM6fT3QIhAKZPDhuau2DcN9xrrRPqqZLjfqPSMWw1D0VlCTqC
uv2k
-----END CERTIFICATE-----

subject=/C=DE/O=Hubject GmbH/CN=MO Sub1 CA QA G1.2
issuer=/C=DE/O=Hubject GmbH/DC=V2G/CN=V2G Root CA QA G1
-----BEGIN CERTIFICATE-----
MIICIjCCAcegAwIBAgIQIOuk+8fAbyXQizBVpSI55zAKBggqhkjOPQQDAjBVMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMRMwEQYKCZImiZPyLGQB
GRYDVjJHMRowGAYDVQQDExFWMkcgUm9vdCBDQSBRQSBHMTAeFw0yMjA0MDcxNDEz
MDdaFw00MjA0MDcxNDEzMDdaMEExCzAJBgNVBAYTAkRFMRUwEwYDVQQKEwxIdWJq
ZWN0IEdtYkgxGzAZBgNVBAMTEk1PIFN1YjEgQ0EgUUEgRzEuMjBZMBMGByqGSM49
AgEGCCqGSM49AwEHA0IABLWnWSw4NPNInduDQp6H0IFgeY0WtO0F3utqV191XLIe
spoAoSIz7s4Vhf+BhbbeX+UyftbGDp2m9EjGIBhog+mjgYwwgYkwEgYDVR0TAQH/
BAgwBgEB/wIBATARBgNVHQ4ECgQISw94EhgPO18wEwYDVR0jBAwwCoAIS0X/giX8
EJYwOwYIKwYBBQUHAQEELzAtMCsGCCsGAQUFBzABhh9odHRwOi8vb2NzcC1xYS5o
dWJqZWN0LmNvbTo4MDgwMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAgNJADBG
AiEAsApDKLvPUVuDCtsIAnn/+prsGu5aekwd59tLiCHAFwACIQCFGJHvTz7JUrq/
QJhQzehduW/+oaROsqOp8L3JdEO6XA==
-----END CERTIFICATE-----

47 changes: 47 additions & 0 deletions e2e_tests/everest/config/certificates/HUBOpenProvCert003.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
-----BEGIN CERTIFICATE-----
MIIB9jCCAZygAwIBAgIQZ/iEHFFyEM7joJp41zE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zAtMCsGCCsGAQUFBzABhh9odHRwOi8vb2NzcC1xYS5o
dWJqZWN0LmNvbTo4MDgwMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAgNJADBG
AiEAsApDKLvPUVuDCtsIAnn/+prsGu5aekwd59tLiCHAFwACIQCFGJHvTz7JUrq/
QJhQzehduW/+oaROsqOp8L3JdEO6XA==
-----END CERTIFICATE-----

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
-----BEGIN CERTIFICATE-----
MIIB9jCCAZygAwIBAgIQazcroeTeaDS6WpsfbBP3JTAKBggqhkjOPQQDAjBDMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMR0wGwYDVQQDExRNTyBT
dWIyIENBIFFBIEcxLjIuMTAeFw0yMzA1MjMxMjU3NDNaFw0yNDAzMDEwMDAwMDBa
MCsxEDAOBgNVBAoTB0h1YmplY3QxFzAVBgNVBAMTDkVNUDc3VFdUVzk5OTk5MFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhCgvKb4w3S/VxeaV/EG1CNF8cF3J+so3
YNj3T43tbrSb1ocDrge2nfQrWCMurEtPHvYQ4MVjvDDbQpVx8Hps1qOBiTCBhjAP
BgNVHRMBAf8EBTADAQEAMBEGA1UdDgQKBAhHKJn2kLZBoTATBgNVHSMEDDAKgAhF
LmmhNiJsSDA7BggrBgEFBQcBAQQvMC0wKwYIKwYBBQUHMAGGH2h0dHA6Ly9vY3Nw
LXFhLmh1YmplY3QuY29tOjgwODAwDgYDVR0PAQH/BAQDAgPoMAoGCCqGSM49BAMC
A0gAMEUCICMpsI6btdkUvEs5pRUCSPl6ks+qX+MO9cCTrNVNJ+UZAiEA/8bm+eYr
FiaWO2Nym5joYn2CJVhripcDioniaYyPAhg=
-----END CERTIFICATE-----
subject=/C=DE/O=Hubject GmbH/CN=MO Sub2 CA QA G1.2.1
issuer=/C=DE/O=Hubject GmbH/CN=MO Sub1 CA QA G1.2
-----BEGIN CER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NVBAYTAkRFMRUwEwYDVQQKEwxIdWJq
ZWN0IEdtYkgxGzAZBgNVBAMTEk1PIFN1YjEgQ0EgUUEgRzEuMjBZMBMGByqGSM49
AgEGCCqGSM49AwEHA0IABLWnWSw4NPNInduDQp6H0IFgeY0WtO0F3utqV191XLIe
spoAoSIz7s4Vhf+BhbbeX+UyftbGDp2m9EjGIBhog+mjgYwwgYkwEgYDVR0TAQH/
BAgwBgEB/wIBATARBgNVHQ4ECgQISw94EhgPO18wEwYDVR0jBAwwCoAIS0X/giX8
EJYwOwYIKwYBBQUHAQEELzAtMCsGCCsGAQUFBzABhh9odHRwOi8vb2NzcC1xYS5o
dWJqZWN0LmNvbTo4MDgwMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAgNJADBG
AiEAsApDKLvPUVuDCtsIAnn/+prsGu5aekwd59tLiCHAFwACIQCFGJHvTz7JUrq/
QJhQzehduW/+oaROsqOp8L3JdEO6XA==
-----END CERTIFICATE-----

17 changes: 17 additions & 0 deletions e2e_tests/everest/config/certificates/root-V2G-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
subject=C=DE, O=Hubject GmbH, DC=V2G, CN=V2G Root CA QA G1
issuer=C=DE, O=Hubject GmbH, DC=V2G, CN=V2G Root CA QA G1
-----BEGIN CERTIFICATE-----
MIICUzCCAfmgAwIBAgIQaasA0lm730LOgFKa0wzl7TAKBggqhkjOPQQDAjBVMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMRMwEQYKCZImiZPyLGQB
GRYDVjJHMRowGAYDVQQDExFWMkcgUm9vdCBDQSBRQSBHMTAgFw0xOTA0MjYwODM3
MTVaGA8yMDU5MDQyNjA4MzcxNVowVTELMAkGA1UEBhMCREUxFTATBgNVBAoTDEh1
YmplY3QgR21iSDETMBEGCgmSJomT8ixkARkWA1YyRzEaMBgGA1UEAxMRVjJHIFJv
b3QgQ0EgUUEgRzEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAShT8kSNcC+74TN
D82On2Y2TOf8mYfxw73lKZ7t9cmEXHpMdAgsWBQ4LI+pOMhe6NOHzJbzP38kQTg4
zLfw3kU0o4GoMIGlMBMGA1UdJQQMMAoGCCsGAQUFBwMJMA8GA1UdEwEB/wQFMAMB
Af8wEQYDVR0OBAoECEtF/4Il/BCWMEUGA1UdIAQ+MDwwOgYMKwYBBAGCxDUBAgEA
MCowKAYIKwYBBQUHAgEWHGh0dHBzOi8vd3d3Lmh1YmplY3QuY29tL3BraS8wEwYD
VR0jBAwwCoAIS0X/giX8EJYwDgYDVR0PAQH/BAQDAgEGMAoGCCqGSM49BAMCA0gA
MEUCIQCq3Qx2BLYVFb7Lt5XXpSlUViYv4cIUOQE1Ce9o2Jyy1QIgZRmVzMVjHZA+
toiM000PCUrLppqbLpcRN4MP8kE0OhU=
-----END CERTIFICATE-----
16 changes: 16 additions & 0 deletions e2e_tests/everest/config/certificates/trust.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
subject=C=DE, O=Hubject GmbH, CN=CPO Sub1 CA QA G1.2
issuer=C=DE, O=Hubject GmbH, DC=V2G, CN=V2G Root CA QA G1
-----BEGIN CERTIFICATE-----
MIICIjCCAcigAwIBAgIQcNHZPf7SMsnpLbJvOgtUYjAKBggqhkjOPQQDAjBVMQsw
CQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMRMwEQYKCZImiZPyLGQB
GRYDVjJHMRowGAYDVQQDExFWMkcgUm9vdCBDQSBRQSBHMTAeFw0yMjA0MDcxNDEx
MjBaFw0yNjA0MDcxNDExMjBaMEIxCzAJBgNVBAYTAkRFMRUwEwYDVQQKEwxIdWJq
ZWN0IEdtYkgxHDAaBgNVBAMTE0NQTyBTdWIxIENBIFFBIEcxLjIwWTATBgcqhkjO
PQIBBggqhkjOPQMBBwNCAAQu+9a26mDSIAgSACu3WCOth7bcQnJhqmMa+OYlCnc8
+QMhgl1wLS15agYgDptdD5kJK+jt/CYRFZ4alwrXCf2po4GMMIGJMBIGA1UdEwEB
/wQIMAYBAf8CAQEwEQYDVR0OBAoECEAU+/DnqWOsMBMGA1UdIwQMMAqACEtF/4Il
/BCWMDsGCCsGAQUFBwEBBC8wLTArBggrBgEFBQcwAYYfaHR0cDovL29jc3AtcWEu
aHViamVjdC5jb206ODA4MDAOBgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwIDSAAw
RQIhAL/4EvlWVR6+Z7+efMrttafXPoUfQWqqv1xIkGRo1wPQAiBbEmj7MeHZwV23
XPHkCjWCfzHwYlvQ4c8Cwo8ndW6law==
-----END CERTIFICATE-----
Loading

0 comments on commit e3ddbe9

Please sign in to comment.