Skip to content

Simple way to update HTTPS certificates from linux cli? #214

Closed Answered by vivekatoffice
stanford-scs asked this question in VAPIX
Discussion options

You must be logged in to vote

Hi @stanford-scs ,

Please find following two ways to update the certificate using Linux CLI:

Please note: For windows machine I will suggest to use AXIS Device Manager at first place. The CA certificate used below is generated with AXIS Device Manager only 😊

Using CURL

Curl command:

curl --anyauth -u "root:pass" --header "Content-Type': 'text/xml; charset=utf-8" --header "SOAPAction:Post" --data @test_curl.xml http://192.168.2.13/vapix/services

test_curl.xml in same folder

<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope">
 <Header/>
 <Body >
<LoadCACertificates xmlns="http://www.onvif.org/ver10/device/wsdl" xmlns:tt="http://www.onvif.org/ver…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vivekatoffice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
VAPIX
Labels
None yet
2 participants