Skip to main content

UAPI userdata mismatching "ssl" field between users

Comments

3 comments

  • cPanelMichael
    Hello, Could you post the full output that you see, ensuring to replace any identifying information with examples? Also, could you confirm what steps you are taking to reproduce the issue? Thank you.
    0
  • Plamen Kalchev
    Hello, sorry for my delayed response. Here is what I mean: p.kalchev@server:/home/:~# uapi --user=user1 DomainInfo single_domain_data domain=domain1.com_SSL --output=json | jq .result.data.ssl "1" p.kalchev@server:/home/:~# uapi --user=user2 DomainInfo single_domain_data domain=domain2.com_SSL --output=json | jq .result.data.ssl 1
    0
  • cPanelMichael
    Hello, Can you reproduce this when using the "uapi --user=user1 DomainInfo single_domain_data domain=domain1.com_SSL --output=json" command on in it's own, before it's output to ".result.data.ssl"? Also, per the documentation, this UAPI function only supports the domain name itself, as opposed to "domain1.com_SSL". If you'd like to see if the SSL certificate is installed, you may find one of these UAPI functions more helpful: UAPI Functions - SSL::installed_host - Software Development Kit - cPanel Documentation UAPI Functions - SSL::installed_hosts - Software Development Kit - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.