Enable HTTPS / SSL for Wildfly

Here are the steps I run through to enable SSL / HTTPS for Wildfly 14.

Notice that instead of generating a key / certificate pair we instead use a special type of container for java which is a keystore. A keystore is a single file that contains both the key and the certificate.

Assuming we are trying to secure the website broodcamp.com, here are the steps:
1.) Generate the key, in the Firstname and Lastname entry, enter your FQDN, which in our case broodcamp.com
>keytool -genkey -alias broodcamp.com -keyalg RSA -keystore keycloak.jks

2.) Convert the keystore to pkcs12 format.
>keytool -importkeystore -srckeystore keycloak.jks -destkeystore keycloak.jks -deststoretype pkcs12

3.) Generate a certificate request that we will submit to a  certificate broker like namecheap.com. We will be using a Comodo PositiveSSL certificate from namecheap: https://www.namecheap.com/security/ssl-certificates/comodo/positivessl.aspx.
>keytool -certreq -alias broodcamp.com -keystore keycloak.jks > keycloak.careq
*In order to validate the certificate, I use domain validation and added a CNAME. You can also use email, etc.

4.) After validation, you should received a zipped file from namecheap that contains 3 files, the certificate, the bundle and the p7b. We will use the p7b which already contain the certificate chain and import to our keystore.
>keytool -import -alias broodcamp.com -trustcacerts -file broodcamp_com.p7b -keystore keycloak.jks
keytool -list -v -keystore keycloak.jks

*Now we have a signed certificate and here's how it should look like in Windows.

Next series of steps are to modify Wildfly's standalone.xml file to enable SSL. 

5.) Modify ApplicationRealm and add the keystore.
After:   <security-realm name="ApplicationRealm"> add:
<ssl>
<keystore alias="server" generate-self-signed-certificate-host="localhost" key-password="password" keystore-password="password" path="application.keystore" relative-to="jboss.server.config.dir"></ssl>

6.) Search for:  <server name="default-server"> and add:

7.) If you're using java and you have a web.xml in your application, you need to enable the SSL transport. For example you have a resource manifest and want to secure it.
Manifest
/rest/manifest/manifest
CONFIDENTIAL

And before I forgot, if you are using Wildfly, it means you are running on port 8080 by default and 8443 for HTTPS. So make sure to redirect the request to 8443 and not 443.

Buruan Ikuti Hot AirDrop dari Griffex (94USD)


Griffex adalah platform exchanger yang fleksibel baru dan  menawarkan fitur yang menangani kekurangan atau celah umum terjadi pada exchanger saaat ini, perusahaan ini sedang mengdakan even AirDrop yang besar, YUK IKUTI.

Cara mengikuti AirDrop

  1. Kunjungi Griffex Platfom di sini
  2. Registrasi dan ferifikasi Email anda
  3. Gabung telegram group (+500 GFX)
  4. Foluw Griffex di Twitter (+500 GFX)
  5. Ikuti Griffex di Facebook (+500 GFX)
  6. Selesaikan Tugas sosial lainya
  7. Kamu akan mendapatkan 9400 FGX jika menyelesaikan semua tugasnya
  8. Dapatkan 1000 GFX tiap teman yang anda ajak


 Airdrop Detail

 Tokens9400
 Est. value$94
 Referral1000 GFX
 Ends in10/01/2019
 Validation100% REAL

Project

 Token typeERC20
 Price/Token$0.01

Yuk Ikuti AirDrop Torex Legit (7,6 USD)


Torex adalah platfom perdagangan cryptocurrency pertama didunia yang tercyptocrapisasi dan terdesentralisasi, mereka sedang mengadakan event AirDrop

Tatacara Mengikuti Airdrop

  1. Kunjungi tokrex AirDrop page
  2. Sing-UP dengan akun Google, Facebook atau dengan NO Telefon
  3. 20 TOX masuk Ke wallet
  4. Invit Teman dan dapatkan 50 TOX

Airdrop Details

 Tokens20
 Est. value$7.6
 Referral50 TOX
 Ends in02/01/19
 Validation100% REAL

Project

 Token typeERC20
 Total supply261,000,000
 Price/Token$0.38

Working More for Less

I had an interested chat with a colleague of mine the other day about the labor market. In the course of conversation, he mentioned that he used to teach a class in labor economics. Naturally, an important lesson included the theory of labor supply. Pretty much the first question asked is how the supply of labor can be expected to change in response to a change in the return to labor (the real wage). 

My colleague said that for years he would preface the theoretical discussion with a poll. He would turn to the class and ask them to imagine themselves employed at some job. Then imagine having your wage doubled for a short period of time. How many of you would work more? (The majority of the class would raise their hands.) How many of you would not change your hours worked? (A minority of hands). How many of you would work less? (A sprinkling of hands). At the end of the polling, he'd start teaching a standard theory of labor supply and using it to interpret the poll results (substitution vs. wealth effects).

My colleague administered this poll for over a decade. The results were always the same. (How satisfying.)
 
Then, one day, for no apparent reason, he decided to mix it up a little bit. Instead of asking the class to imagine an increase in the wage rate, he asked his students to consider a decrease in their wage rate. He was expecting a symmetrically opposite response. To his shock, a majority of the class responded that they would work more. Only a minority replied that they would work less or not change their hours.

Surely, this was an anomaly? But when he repeated the experiment with another class, he got the same result. He mentioned it to a colleague of his, who then ran the same experiment with his class and he too confirmed the result. What was going on here? If true, then employers can apparently get more labor out their workers by lowering their wages?!
 
The phenomenon here seems related to the evidence of "income targeting" among some groups of workers; see, for example, the classic study of New York taxi drivers by Camerer, Babock, Lowenstein and Thaler (QJE May, 1997). Evidently, inexperienced taxi drivers tend to work less when the return to working is high, and work more when the return to working is low. This behavior doesn't quite square with the phenomenon reported by my colleague. The effect there appeared to be asymmetric: students reported willing working more at a lower wage, but also reported willing working more at a higher wage. In both cases, however, it seems that the existence of some fixed obligation (e.g., monthly food and rent payments) plus no ready access to credit could explain why workers might be willing to work longer hours when the return to work declines.

I'm not sure if these findings shed any light on the state of the labor market today. But it is interesting to speculate. Conventional supply/demand analysis isn't always the best guide. 

Can Bitcoin Survive - Part 3

This bear market is a “forrest fire” raging through the crypto ecosystem. It is necessary for a healthy ecosystem to clear the deadwood and allow new more resilient shoots to sprout and grow. What is important is to take stock of your position understand the changes and identify which are the new and innovative unicorns. Do this without the baggage and drag and of emotional attachments to any pet projects. It is your money and your future.
You may have lost a good part of your investment, but it is relative. The ratio of your crypto worth is still the same. Re-evaluate your investment strategy and spot those unicorns that are sure to appear. They are usually the silent ones. Above all remember it is only money, and when one door closes another opens.
If you need empathy hope and direction, this video will help you reset your bearings.

After The Fire.
You will no doubt hear all the reasons why the bear market set in. Perhaps they all play a part but really going back to history and saying crypto have always drop 90% and then risen to new heights, therefore just hoddle, think again. History does not repeat. It Rhymes. The conditions of the future are different from the past.
A blockchain without a token is just another database. BTC is just another token. It may not survive or more likely remain in its’ premium position but blockchain technology will change, evolve and improve. Take a wide angle look at this space. Like transport technology, we needed the horse and buggy to develop the automobile and the formula one speedster. Take a critical unemotional look at your pet projects. This space moves faster than the internet age. Ten years is too long for a project to be still in its’ infancy. More likely the evolution have taken place and you have been left behind. 
Blockchain is an internet technology. If your project is not growing then it is dying. That is the unemotional unvarnished truth. Blockchain technology have moved from BTC to Ethereum to EOS. There is a whole new ecosystem built around EOS. This ecosystem is growing and gaining new users everyday.
Eos Knights – 3700 daily users and growing. You can earn real money (EOS) by mining and  crafting items. Businesses will set up to do this on an industrial scale because there is a real revenue stream here. Users spend an average of $6 a day on  Eos Knights compared to about 30 cents per month on the most popular online game today. The gaming industry have taken notice and are rushing to build and incorporate blockchain technology into their products. This is only possible today on the EOSIO platform.
BetDiceEosPoker and a host of other gambling dapps are launching on the EOS platform. Developing on the EOS blockchain bypasses the licencing, identity and fiat on/off ramp issues. They are designed to transition into Decentralised Autonomous Corporations and so be impossible to shut down. Currently, for the investor returns of 1% a day is the norm. This situation will not last. Price of tokens in the best of these DAC will rise to reflect a more normal rate of return.
EVA will disrupt the ride share industry because it gives most of the income and control back to the drivers and users. Everipedia will replace Wikipedia because a system will be in place to rank and value truth and facts. EDNA seeks to give back control of bio-metric information to the individual. Of course it is only logical that new versions of Youtube, Facebook, Instagram, Wechat will launch, moving away from push ad based systems where your private information is a commodity to these behemoth. A new email system will arise where unsolicited spam will be a thing of the past.
The most interesting aspect of the EOS blockchain is free transactions. Because of this it will be possible to introduce Universal Basic Income. The concept that every living person on this planet will have access to a basic income. We are moving into a new future where the concept of work, jobs and income will change. When we solve fusion power, which is looking promising, hunger will be a thing of the past. We will be able to synthesise our food and reshape our environment with abundance of free energy. Payments can be made instantly and for free to every account in the system. The only question is where this new wealth for distribution will come from. Dan Larimer proposes his concept of Universal Resource Income where the income from resource trading on the EOS blockchain is distributed. I have no doubt that something like this will be the future as the economy depends on people spending and discouraging uneconomic static wealth accumulation.
How will this bear market play out?
The IMF have advised governments to look into blockchain currencies. Venezuela have introduced the Petro, Iran have indicated that they want to develop a digital currency. The biggest hurdle that they will encounter if they use a private blockchain is recruiting an army of developers, security and a useable wallet.
The only viable solution is to develop on a public blockchain and that blockchain will be EOS. A government can effortlessly issue their national currency on the EOS blockchain. They will have full control over its’ issuance, be able to give their citizens full transparency over monetary and fiscal policies, security, free instant transactions and have many mobile wallets to choose from.
With Bancor these currencies, even if they are on sister chains and be moved effortlessly from one to the other effectively solving the problem of currency translation. Perhaps the concept of a stable coin is unnecessary. Value can just be moved and interchange from one to another through the Bancor network.
This brings us back to the existing bear market. How will it play out? Coins don’t die. Each will have its’ own band of converts and die hard users. The value of each will depend on utility and user base. EOS will probably become the most valuable token and most used blockchain. BTC may evolve to be a digital asset and a store of value. Money will remain the purview of governments and be used as the prime legal tender within their own boundaries with the assurance that if they abuse this privilege their citizens will simply switch to another token.
Finally, please beware. These are only my predictions and not facts. Critique the reasoning behind and do your own research. Good Luck.

5 Hot AirDrop Legit Dibulan Desember 2018

Bulan Desember akan jadi bulan yang menyenangkan bagi para pemburu Airdrop (coin gratis) untuk menambah pendapatnya secara cuma cuma, setidaknya ada 6 Event airdrop yang akan terjadi di bulan desemberu


1. Pndi X (NXPS)
Pundi X adalah perusahaan blockchain yang berbasis di Indonesi, pundi x bertujuan mengubah bisnis retail dengan konsep POS hingga membuat penjualan crypto sangat mudah.
mereka mengadakan give away minguan, untuk mengikutinya anda harus memiliki token pundix (NXPS) Diwallet yang memiliki private key give away ini akan dilakukan hingga januari 2019.

Untuk informasi lebih lanjut kunjungi Blognya

2. WAX (WAX)

Worldwide Asset eXchange atau WAX adalah layanan lerdagangan barang barangfisik dan  virtual seperti skin, vocher dan lainya secara peer -to-peer, layanan gratis ini akan melakukan pembaruan diakhir 2018 dan pemengang token lama lama akan mendaptkan token baru.

Untuk info lebih lanjut kunjungi Postingan Blognya

Crypto.com adalah platfom perdagangan secara nyaman dan mudah, mereka akan memberika giveaway bagi pemegang coin MCO di wallet crypto.com dan Card APP.
Untuk informasi lebih lanjut kunjungi website mereka Crypto.com

4. Storm
Storm adalah platfom prnyedia tugas tugas micro yang terhubung dengan strom market dan strom player, platfom ini dirancang khusus untuk gamer, pengiklan dan token ini  dirancang dengan ERC-20, akan tetapi token ini tidak dijual dikarenakan untyuk mendorong adopsi to0ken ini. perusahaan ini akan mengadakan even airdrop terakhir pada tanggan 7 desember 2018 dan untuk tata cara dan informasi lebih lengkap silahkan kunjungi blog StromToken.

5. WePower

WePower perfokus pada industri energi terbarukan dan didistrikustikan dan dijual dalam kontrak cerdas, dalam RoadMap mereka WePower akan ada distribusi token kesemua pemegang token

Sebenarnya masih banyak event AirDrop di bulan disember, akan tetapi akan saya bahasa di postingan berikutnya.

Can Bitcoin Survive - Part 2



The Bitcoin Cash Hash War
At 10.30 Craig Wright reveals his motive. That he wants to crush Roger and Jihan totally. He wants them to sell everything hey have to support ABC. At 11.30 Craig reveals that he(SV) is selling BTC. Today BTC fell through 4000. There will be panic. Lots of people have and are going to lose more money holding BTC or any crypto for that matter as they are all pegged to BTC. There will be a rush for the exits.
Whether Craig is Satoshi or not is irrelevant. This guy can certainly act on his pronouncements. He claims Roger and Jihan has at most 1.5 million BCH and not much BTC. Perhaps his group is selling BTC probably accumulated at less than $100. $3000 is still very good profit so we can say he can sell right down to $0 and still be smiling. Jihan has an IPO coming up. If BTC tanks like it is now he can kiss that IPO goodbye.
Bitcoin ABC hash rate just tanked today. Could be a switch to BTC to minimise losses but SV is still mining on. So Craig’s claim that ABC miners will give up before he does bears up. If that hash rate does not return ABC is toast.
How will this end?
Craig’s motive seem to be to get the banks and corporations to use BSV. Possibly a top down approach with banks offering BSV accounts to all their customers. If the incentive to banks is also controlling BSV then it could work. The road will be long nevertheless which is why he mentioned 2026.
BTC will not survive this price drop. It means no further development in mining technology. Some miners will shut down to lower the difficulty towards economic price equilibrium, and fire up again if the price recovers. If the Chain Death Spiral sets in then it is curtains. Block time will go so long that the chain will be unusable.
Who will be the winner
EOS is a third generation blockchain. The first was BTC with smart money. The second was Ethereum with smart contracts. And Eos with Smart contracts at scale. BTC depended on speculative money coming in from the real world economy. Ethereum depended on real world money coming into IPOs. EOS however is able to tap into sustainable real world income streams.
Whether you approve of gambling or not the gambling dapps on EOS are the first sustainable economically viable activity on a blockchain. This is real. Gambling is a human activity like eating and sleeping and sex. The operative word is sustainable. My estimate is that 10,000 Eos or roughly 40,000 dollars is now flowing into the EOS ecosystem daily and will escalate exponentially. This is real money coming in and it is here to stay and grow the ecosystem. Not speculation.
Then you will have Dapps like EVA taping into the ride share market. Another revenue stream from the real world economy and there could be others on the horizon.
If I am right about this then we should see a decoupling of EOS from BTC. That is the price of EOS will no longer follow BTC going down. Lets lay back and see how this plays out in the next few days.