Book Image

Apache OfBiz Cookbook

Book Image

Apache OfBiz Cookbook

Overview of this book

Apache Open For Business (OFBiz) is an enterprise resource planning (ERP) system that provides a common data model and an extensive set of business processes. But without proper guidance on developing performance-critical applications, it is easy to make the wrong design and technology decisions. The power and promise of Apache OFBiz is comprehensively revealed in a collection of self-contained, quick, practical recipes in this Cookbook. This book covers a range of topics from initial system setup to web application and HTML page creation, Java development, and data maintenance tasks. Focusing on a series of the most commonly performed OFBiz tasks, it provides clear, cogent, and easy-to-follow instructions designed to make the most of your OFBiz experience. Let this book be your guide to enhancing your OFBiz productivity by saving you valuable time. Written specifically to give clear and straightforward answers to the most commonly asked OFBiz questions, this compendium of OFBiz recipes will show you everything you need to know to get things done in OFBiz. Whether you are new to OFBiz or an old pro, you are sure to find many useful hints and handy tips here. Topics range from getting started to configuration and system setup, security and database management through the final stages of developing and testing new OFBiz applications.
Table of Contents (15 chapters)
Apache OFBiz Cookbook
Credits
About the Author
About the Reviewers
Preface

SSL verification


It is entirely possible that the HTTP listener may be working, but secure URLs using the HTTPS protocol may not be. To verify that the Secure Sockets Layer (SSL) encryption works and that OFBiz is listening for web requests on the secure HTTPS configured port, navigate to the OFBiz WebTools main landing page and attempt to access any of the menu selections provided.

Getting ready

Aside from starting up an instance of OFBiz, there are no special prerequisites necessary to test OFBiz SSL support.

How to do it...

OFBiz SSL support can be tested by following these steps:

  1. 1. From any compliant web browser, enter the URL of an OFBiz password-protected Application. For example, enter the URL of the WebTools Application: http://localhost:8080/webtools

  2. 2. The WebTools Application has a main landing web page as shown below. This web page is not password-protected. In order to access the protected WebTools applications, you must select the Login link on this main landing page as shown in the following:

  1. 3. When presented with the WebTools login screen, login using the default username of admin and default password of ofbiz. This HTML login form should look something like the following:

  2. 4. Successful login will bring up the protected portion of the WebTools Application UI. Observe that you are able to see the main web page as shown here:

How it works...

The SSL protocol implementation is an integral part of the OFBiz project. Out-of-the-box, OFBiz is configured to use the HTTPS protocol running on port 8443 to support SSL. All password-protected portions of the project use SSL keys and encryption to secure the transfer and storage of sensitive information.

OFBiz comes with the necessary SSL certificate installed to support a generic web browser to web server SSL environment. By accessing password-protected web pages such as the WebTools main menu, you effectively are exercising the built-in support for the SSL implementation.

Note

Note: HTTPS, SSL and SSL encryption are no substitutes for a firewall and a well thought-out security policy.

There's more...

WebTools, like all OFBiz backend Applications, has been configured to require authentication prior to access. The default OFBiz authentication process forces the user to access any SSL-secured URL through the HTTPS port. The astute observer may have noticed that WebTools was initially accessed using the HTTP protocol on port 8080. If OFBiz is working correctly, it will automatically make the translation from HTTP port 8080 to HTTPS port 8443.

See also

For more on security, refer to Chapter 7, OFBiz Security.