I'm playing with jQuery to strengthen my front end skills and have run into an error that I hope is caused by an SSL cert issue.
I went to the raw url of the API I was trying to use and it gave me this warning in chrome:
The site's security certificate is not trusted!
You attempted to reach theAPI, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications.
Here is the basic code set up I was using (pulled from here):
<body>
<div class="results"></div>
<script>
$( document ).ready(function() {
$.ajax({
url: "https:theAPI",
cache: false,
success: function(html){
$(".results").append(html);
}
});
});
</script>
</body>
Should I investigate my setup more or is there a valid issue from the SSL cert that would roadblock me?