how to connect Quickbooks and Ruby On Rails? - heroku

I'm trying to use qbwc gem my RoR app to connect to the standard Quickbooks with QuickBook Web Connector.
I have deployed my app on Heroku. when I try to load the qbc file I get the following error:
QBWC1048: QuickBooks Web Connector could not verify the web application server certificate
I'm using Heroku default domain which according to the Heroku documentation it serves https.
What am I missing?
What is the best approach to solve this?

Use the Heroku default domain name e.g. https://yourappname.herokuapp.com.
If you are attempting to use a custom domain name you must configure an SSL Endpoint on Heroku.
The QuickBooks Web Connector wants a valid SSL cert.

Related

Redirect from generic Heroku domain to custom domain

I have an old version of a web app which was deployed using Heroku to a generic Heroku domain i.e. https://abcdefg.herokuapp.com/
I have a newer version of this web app deployed separately using Azure at a custom domain i.e. https://www.abcdefg.com/
However many users are still using the old Heroku domain and are going to the old version of the app.
Is there an easy way in the Heroku Dashboard to redirect from the generic Heroku domain to another domain i.e. my custom domain in this case?

Deploying a Phoenix app to Heroku using CloudFlare

I started developing my personal blog (and a basic CMS) using Phoenix.
I successfully deployed it to Heroku following the Documentation/Guides, it's live.
Now I added my custom domain "jonathansoifer.com" to the Heroku App but everytime I access it, the URL on the browser switches from that custom domain to the "Heroku app URL" (jonathansoifer.herokuapp.com).
Am I missing something?
It might be useful to know that the DNS is being managed by CloudFlare, using CNAME flattening as recommended by CloudFlare itself.
CNAME • jonathansoifer.com • jonathansoifer.com.herokudns.com
Sure enough, the issue was within config/prod.exs.
I had hard coded the Heroku URL there in order to take advantage of Heroku's free SSL when using their subdomains.

Using Sinatra with Let's Encrypt

I plan to write a web application using the Sinatra framework, and want to add HTTPS to it using Let's Encrypt. certbot, the recommended Let's Encrypt client, doesn't support Sinatra, and from Googling I can't find any others which appear to support it.
Are there any Let's Encrypt clients which support Sinatra, and if not, how can I fetch a certificate from Let's Encrypt and configure Sinatra to use it? The application will be running on Linux.
Sinatra is merely the framework you use to build a web app on top of a web server. The only thing that matters when using a Let's Encrypt client is that you're using a supported web server such as Apache or Nginx.
The documentation lists out these requirements: https://certbot.eff.org/docs/intro.html#system-requirements
You can use certbot regardless of the web framework you choose as long as you're running on a supported web server.

Hosted APEX 5.0 (apex.oracle.com) - Webservice Reference

I am trying to do a testcase dealing with webservice REST in hosted Ape 5.0 Environment (apex.oracle.com).
There is a preinstalled Web Service in the Workspace "oracle.example.hr".
I have managed to call that Service from my Browsers URL.
But when i create a Web Service Reference to use that Service for an APEX Page, I receive the Errors:
ORA-29273: HTTP request failed
ORA-29024: Certificate validation failure
I am using the Oracle hosted Environment apex.oracle.com; thus I cannot apply ACLs etc.
Any suggestions?
Kind Regards,
Andreas Resch
Are you using https?
It seems that you are using a client that checks if the certificates are valid.
You can either solve the problem on the server (that is not configured with the correct certificate or configure the client to ignore this problem).

Authenticating a web service for use with push notifications

For our Mango app we have enabled push notifications. But it is unauthorized. In order to have authenticated web service, we need to create and install the required certificate. We are using Tomcat as a web server. Which SSL certificate do we need to create and install and how to do that?
Did you have a look at Setting Up an Authenticated Web Service to Send Push Notifications for Windows Phone in MSDN? It tells you where to put your certificate and what to do next. This article contains some information about how to get a certificate. And the folks at Server Fault are probably the best source to ask about installing it on your server.

Resources