Skip to main content
3 votes

Can I use PERL_LWP_SSL_VERIFY_HOSTNAME with HEAD(1)?

To complement @SteffenUllrich's answer, it seems indeed to be a bit of a mess and dependent on the versions of the related perl modules. Here on Debian with these package versions: package version ...
Stéphane Chazelas's user avatar
2 votes
Accepted

Can I use PERL_LWP_SSL_VERIFY_HOSTNAME with HEAD(1)?

The problem with law.sme.gov.tw is NOT that the name in the certificate is wrong - it actually matches. Instead validating the certificate requires a CA certificate which is not in the trust store. ...
Steffen Ullrich's user avatar
2 votes
Accepted

Replacing the domain string in the compiled binary file with an IP address

Yes, you can do this. I would use something like sed to perform the gross changes and then xxd to give me an editable file that would let me replace the remaining unwanted characters with NULs. ...
Chris Davies's user avatar
2 votes

List a file from all directories but skip the ones whose folder contains a specific file

In ls /home/lf-process/lf-orders/2020/*/*/*/*.xml, it's not ls that finds the matching files, it's the shell that does and passes the list to ls. ls is a poor choice of a command in that case in that: ...
Stéphane Chazelas's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible