I have a question about the notation.
[yourname @ example yourname] $openssl s_client -connect www.yahoo.co.jp:443</dev/null 2>/dev/null | openssl x509 -noout- serial
serial = 0EC2F28A086AFF40F6257936A64CC437E44D28AC
[yourname @ example yourname] $
The serial number information of the SSL certificate used at www.yahoo.co.jp can be confirmed with the above command.
Similarly, there are servers that operate multiple wordpresses on KUSANAGI Linux servers. This server has the following site URL:
・ Https://site1.com/
・ Https://site2.com/
A regular SSL certificate is assigned to each of the above sites, but if you check the certificate properties with the following command, you will get a KUSANAGI self-certificate instead of a regular certificate.
[yourname @ example yourname] $openssl s_client -connect site1.com:443</dev/null 2>/dev/null
... Omitted
---
Certificate chain
0 s:/C =-/ ST = SomeState/L = SomeCity/O = SomeOrganization/OU = SomeOrganizationalUnit/CN = kusanagi71/emailAddress = root @ kusanagi71
i:/C =-/ ST = SomeState/L = SomeCity/O = SomeOrganization/OU = SomeOrganizationalUnit/CN = kusanagi71/emailAddress = root @ kusanagi71
---
... Omitted
* To make the explanation easier to understand, "www.yahoo.co.jp" is used as an example.
Therefore, I am in trouble because the properties of the currently applied certificate cannot be confirmed from the outside.
If i try to check your serial number for the above reasons
[yourname @ example yourname] $openssl s_client -connect www.nijimo.jp:443</dev/null 2>/dev/null | openssl x509 -noout -serial
serial = 0752
The self-certificate serial will be obtained instead of the applied certificate.
Here if you have information to check the properties of the certificate applied to the server
Thanks for your professorship.
-
Answer # 1
Related articles
- linux - about haproxy ssl certificate
- How to check version information in Linux
- linux - rsys server separate logs for each host
- How to send the python code on the server to send back information through QQ (with implementation method)
- Implementation of Linux UDP server and client program
- linux - when trying to get a certificate with certbot-auto in the ec2 environment of aws
- i want to log in to linux server on virtualbox with vscode
- linux - "long response " is output when accessing the web server from the browser
- How to deploy Net Core WebApi on Linux server
- Detailed commands to get detailed hardware information in Linux
- Detailed explanation of the Linux server hosts file configuration
- Solve Linux + Apache server URL case sensitivity issue
- Pycharm uses a remote linux server conda/python environment to run locally (illustrated)
- Linux steps to build NFS file sharing server
- Bash script to view Linux system information every time you log in to the shell
- Springboot deploys linux to access server resources
- Java connection to Linux server process analysis (with code)
- Two ways to install Python3 on a Linux server
- Linux server Java process disappeared
- Linux server startup oracle setting method
- I ran wget from a linux virtual machine to an https site on windows10 and it says 443 failed: Host is unreachable.
- python - about the risk of acquiring html data via http communication
- transfer from http to https with wordpress (rewrite htaccess)
- dns - lets encrypted error code: detail: no valid ip addresses found for hogecom
- c++ - i want to see the contents of the memory when the ssl server is accessed
- python - reason why certificate information is returned even though it is not https
- linux - about ssl certificate acquisition failure on centos8
- php - in https environment, the path of css etc of wordpress site will be loaded as http
- apache - error in introducing https (always ssl) with let’s encrypt
- embed https form in iframe in http site
I was able to solve it with PHP instead of Linux commands.