An erbium-doped photonic crystal fiber laser has been designed, constructed and characterized in order to examine the feasibility of this kind of devices for secure communications applications based on two identical chaotic lasers. Inclusion of a tailored photonic crystal fiber as active medium improves considerably the security of the device because it allows customization of the mode transversal profile, very influential on the laser dynamics and virtually impossible to be cloned by undesired listeners. The laser design has been facilitated by the combination of characterization procedures and models developed by us, which allow prediction of the most suitable laser features (losses, length of active fiber, etc.) to a given purpose (in our case, a laser that emits chaotically for a wide assortment of pump modulation conditions). The chaotic signals obtained have been characterized by means of topological analysis techniques. The underlying chaotic attractors found present topological structures belonging to classes of which very scarce experimental results have been reported. This fact is interesting from the point of view of the study of nonlinear systems and, besides, it is promising for secure communications: the stranger the signals, the more difficult for an eavesdropper to synthesize another system with similar dynamics.