How to find UDID of your iphone without installing any third party app on Mac M1 or Mac M2

 Ever wondered on how to check the UDID of your iphone without installing any third party app in a mac using Apple Silicon chip? Here are the steps you should follow: Connect your iphone with USB Open Apple Music app and you should see your device there Next, click on the iphone label and you should see the UDID

Resolved: SSL Certificate Problem: unable to get local issuer certificate when doing Woocommerce Integration

 Hey Friends,

In this blog, I am going to share how I solved SSL Certificate problem on my local environment of php when I was doing a woocommerce integration.

I am talking about Woocommerce only, however, the concept is same when you want to connect with any api which is using https

PROBLEM:

  1. I have a website based on Wordpress using Woocommerce using https
  2. I need to populate the products from the website on my custom application and hence I was using local php environment.
  3. I was using WAMP for the development purposes.
  4. I was following Woocommerce Rest API documentation to do the development
  5. I got the error "unable to get local issuer certificate"
SOLUTION: 

  1. Download cacert.pem from the official curl website 
  2. Open php ssl folder and place the cert there. In my case it was:
    C:\wamp64\bin\php\php7.4.9\extras\ssl
  3. If you use different version of php development server, make sure you place the file in the correct folder. Check  php version with command
    php --version
  4. Open php.ini file and look for openssl.cafile and add the path of your certificate
  5. Restart Apache/WAMP and if you are using VSCode terminal, simply restart VSCode
  6. Yay! your problem should be solved.
Happy Coding!!!