Thursday, July 15, 2021

PKIX path building failed: sun.security.provider.certpath

https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ



  1. Go to URL in your browser:
  • firefox - click on HTTPS certificate chain (the lock icon right next to URL address). Click "more info" > "security" > "show certificate" > "details" > "export..". Pickup the name and choose file type example.cer
  • chrome - click on site icon left to address in address bar, select "Certificate" -> "Details" -> "Export" and save in format "Der-encoded binary, single certificate".
  1. Now you have file with keystore and you have to add it to your JVM. Determine location of cacerts files, eg. C:\Program Files (x86)\Java\jre1.6.0_22\lib\security\cacerts.

  2. Next import the example.cer file into cacerts in command line (may need administrator command prompt):

keytool -import -alias example -keystore "C:\Program Files (x86)\Java\jre1.6.0_22\lib\security\cacerts" -file example.cer

You will be asked for password which default is changeit

Azure Notifications

 


Redhat Service : VSTS Agent Service :EAP Service : Azure Agent Service : Configure as a service

 https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html/installation_guide/configuring_jboss_eap_to_run_as_a_service

sudo cp EAP_HOME/bin/init.d/jboss-eap.conf /etc/default

sudo cp EAP_HOME/bin/init.d/jboss-eap-rhel.sh /etc/init.d

sudo chmod +x /etc/init.d/jboss-eap-rhel.sh

sudo chkconfig --add jboss-eap-rhel.sh

sudo service jboss-eap-rhel start

------------------------------------------------------------------------------------------------------

https://www.geeksforgeeks.org/setuid-setgid-and-sticky-bits-in-linux-file-permissions/

------------------------------------------------------------------------------------------------------

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops

sudo ./svc.sh install [username]

sudo ./svc.sh status

sudo ./svc.sh start

sudo ./svc.sh stop

du vs df

https://stackoverflow.com/questions/10103604/linux-command-line-du-how-to-make-it-show-only-total-for-each-directories/10103709#10103709

du -cksh *


df -h

What does 'total' mean in "ls" command output ?

What does 'total' mean in "ls" command output ?

https://lists.fedoraproject.org/pipermail/users/2006-November/317250.html

> ls -la

> total 8

> drwxr-xr-x 2 fajar users 4096 2006-11-06 11:12 .

> drwxr-xr-x 3 fajar users 4096 2006-11-06 11:12 ..

> What 'total 8' stands for?

> Thank you very much.


That is the total number of file system blocks, including indirect

blocks, used by the listed files. 

How to see Sizes in MB/GB for Linux 'ls' command

https://net2.com/how-to-display-files-sizes-in-mb-in-linux-ubuntu/

Want to read Size in MB/GB for ls ?

ls -lh

Difference between "ls -1" and "ls -l" ?

 Difference between  "ls -1" and "ls -l" ?

ls -1
ls -l

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass