How to generate client certificate using https://test.mosquitto.org/ssl/index.php ?

dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

How to generate client certificate using https://test.mosquitto.org/ssl/index.php ?

Postby dhananjay.sutariya » Tue Aug 27, 2019 2:04 pm

Hi all,
I'm rather new to .php scripts so i can hardly understand it. And im having difficulties generating a certificate using https://test.mosquitto.org/ssl/index.php this link because all i get is a index.php file.
I have already installed the apache-v2 utility and used wget command followed by this link to get the localserver .
Now when i enter https://localhost/index.php i get everything except the key generator function . And everytime i paste csr value into the dialog box the page gets refreshed . Please help.
Thanks,
Dhananjay Sutariya

ESP_Sprite
Posts: 9719
Joined: Thu Nov 26, 2015 4:08 am

Re: How to generate client certificate using https://test.mosquitto.org/ssl/index.php ?

Postby ESP_Sprite » Wed Aug 28, 2019 4:40 am

A php file is a file that gets executed on the server: if you wget it, you capture the *output* of the file, not the php file itself. It's like comparing a game with a video of a game: while they look the same, the logic that makes it work is gone. Unless you can get the source for that php file somewhere, you won't be able to reproduce its functionality.

dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

Re: How to generate client certificate using https://test.mosquitto.org/ssl/index.php ?

Postby dhananjay.sutariya » Wed Aug 28, 2019 5:34 am

ESP_Sprite wrote:
Wed Aug 28, 2019 4:40 am
A php file is a file that gets executed on the server: if you wget it, you capture the *output* of the file, not the php file itself. It's like comparing a game with a video of a game: while they look the same, the logic that makes it work is gone. Unless you can get the source for that php file somewhere, you won't be able to reproduce its functionality.
Hi ESP_Sprite,
Thanks for the response. So as far as i have understood i should get the same page when i enter that URL, and this page will help me generate a client certificate. However all it does is give me index.php file to download.

Thanks,
Dhananjay Sutariya

dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

Re: How to generate client certificate using https://test.mosquitto.org/ssl/index.php ?

Postby dhananjay.sutariya » Wed Aug 28, 2019 10:45 am

Hi,
The server started working all on its own.

Thanks,
Dhananjay Sutariya

Who is online

Users browsing this forum: No registered users and 61 guests